openapi: 3.1.0 info: title: TextQL API version: "1.0.0" description: | TextQL public API. Generated from protobuf service definitions; internal endpoints are excluded via google.api.visibility / file_visibility. servers: - url: https://app.textql.com/rpc/public paths: /textql.rpc.public.agent.AgentService/CreateAgent: post: tags: - AgentService summary: CreateAgent operationId: AgentService_CreateAgent x-speakeasy-group: agents x-speakeasy-name-override: create parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.CreateAgentRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.CreateAgentResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.create({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.create() # Handle response print(res) /textql.rpc.public.agent.AgentService/DeleteAgent: post: tags: - AgentService summary: DeleteAgent operationId: AgentService_DeleteAgent x-speakeasy-group: agents x-speakeasy-name-override: delete parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.DeleteAgentRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.delete({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.delete() # Handle response print(res) /textql.rpc.public.agent.AgentService/DuplicateAgent: post: tags: - AgentService summary: DuplicateAgent operationId: AgentService_DuplicateAgent x-speakeasy-group: agents x-speakeasy-name-override: duplicate parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.DuplicateAgentRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.DuplicateAgentResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.duplicate({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.duplicate() # Handle response print(res) /textql.rpc.public.agent.AgentService/GetAgent: post: tags: - AgentService summary: GetAgent operationId: AgentService_GetAgent x-speakeasy-group: agents x-speakeasy-name-override: getAgent parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.GetAgentRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.GetAgentResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.getAgent({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.get_agent() # Handle response print(res) /textql.rpc.public.agent.AgentService/GetAgentDBSchema: post: tags: - AgentService summary: GetAgentDBSchema operationId: AgentService_GetAgentDBSchema x-speakeasy-group: agents x-speakeasy-name-override: getDBSchema parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.GetAgentDBSchemaRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.GetAgentDBSchemaResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.getDBSchema({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.get_db_schema() # Handle response print(res) /textql.rpc.public.agent.AgentService/GetAgentDBTablePreview: post: tags: - AgentService summary: GetAgentDBTablePreview operationId: AgentService_GetAgentDBTablePreview x-speakeasy-group: agents x-speakeasy-name-override: getDBTablePreview parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.GetAgentDBTablePreviewRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.GetAgentDBTablePreviewResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.getDBTablePreview({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.get_db_table_preview() # Handle response print(res) /textql.rpc.public.agent.AgentService/GetAgentRun: post: tags: - AgentService summary: GetAgentRun operationId: AgentService_GetAgentRun x-speakeasy-group: agents x-speakeasy-name-override: getRun parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.GetAgentRunRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.GetAgentRunResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.getRun({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.get_run() # Handle response print(res) /textql.rpc.public.agent.AgentService/ListAgentRuns: post: tags: - AgentService summary: ListAgentRuns operationId: AgentService_ListAgentRuns x-speakeasy-group: agents x-speakeasy-name-override: listRuns parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.ListAgentRunsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.ListAgentRunsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.listRuns({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.list_runs() # Handle response print(res) /textql.rpc.public.agent.AgentService/ListAgents: post: tags: - AgentService summary: ListAgents operationId: AgentService_ListAgents x-speakeasy-group: agents x-speakeasy-name-override: list parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.ListAgentsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.ListAgentsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.list({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.list() # Handle response print(res) /textql.rpc.public.agent.AgentService/ResetAgentAvatar: post: tags: - AgentService summary: ResetAgentAvatar operationId: AgentService_ResetAgentAvatar x-speakeasy-group: agents x-speakeasy-name-override: resetAgentAvatar parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.ResetAgentAvatarRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.ResetAgentAvatarResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.resetAgentAvatar({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.reset_agent_avatar() # Handle response print(res) /textql.rpc.public.agent.AgentService/TriggerAgent: post: tags: - AgentService summary: TriggerAgent operationId: AgentService_TriggerAgent x-speakeasy-group: agents x-speakeasy-name-override: triggerAgent parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.TriggerAgentRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.TriggerAgentResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.triggerAgent({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.trigger_agent() # Handle response print(res) /textql.rpc.public.agent.AgentService/UpdateAgent: post: tags: - AgentService summary: UpdateAgent operationId: AgentService_UpdateAgent x-speakeasy-group: agents x-speakeasy-name-override: update parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.UpdateAgentRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.UpdateAgentResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.update({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.update() # Handle response print(res) /textql.rpc.public.agent.AgentService/UploadAgentAvatar: post: tags: - AgentService summary: UploadAgentAvatar operationId: AgentService_UploadAgentAvatar x-speakeasy-group: agents x-speakeasy-name-override: uploadAgentAvatar parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.UploadAgentAvatarRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.agent.UploadAgentAvatarResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.agents.uploadAgentAvatar({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.agents.upload_agent_avatar() # Handle response print(res) /textql.rpc.public.app.AppService/AppHeartbeat: post: tags: - AppService summary: AppHeartbeat operationId: AppService_AppHeartbeat x-speakeasy-group: apps x-speakeasy-name-override: heartbeat parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.AppHeartbeatRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.heartbeat({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.heartbeat() # Handle response print(res) /textql.rpc.public.app.AppService/CreateApp: post: tags: - AppService summary: CreateApp operationId: AppService_CreateApp x-speakeasy-group: apps x-speakeasy-name-override: createApp parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.CreateAppRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.CreateAppResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.createApp({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.create_app() # Handle response print(res) /textql.rpc.public.app.AppService/DeleteApp: post: tags: - AppService summary: DeleteApp operationId: AppService_DeleteApp x-speakeasy-group: apps x-speakeasy-name-override: deleteApp parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.DeleteAppRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.deleteApp({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.delete_app() # Handle response print(res) /textql.rpc.public.app.AppService/DuplicateApp: post: tags: - AppService summary: Duplicates an app the caller can view into a new app they own, named "Copy of ". Copies code/files/data sources/compute functions/ schedule; never carries over the source's data snapshot. description: |- Duplicates an app the caller can view into a new app they own, named "Copy of ". Copies code/files/data sources/compute functions/ schedule; never carries over the source's data snapshot. operationId: AppService_DuplicateApp x-speakeasy-group: apps x-speakeasy-name-override: duplicate parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.DuplicateAppRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.DuplicateAppResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.duplicate({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.duplicate() # Handle response print(res) /textql.rpc.public.app.AppService/GetApp: post: tags: - AppService summary: GetApp operationId: AppService_GetApp x-speakeasy-group: apps x-speakeasy-name-override: get parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.get({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.get() # Handle response print(res) /textql.rpc.public.app.AppService/GetAppDBSchema: post: tags: - AppService summary: Replaces the calling member's entire ordering; capped server-side. description: Replaces the calling member's entire ordering; capped server-side. operationId: AppService_GetAppDBSchema x-speakeasy-group: apps x-speakeasy-name-override: getDBSchema parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppDBSchemaRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppDBSchemaResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.getDBSchema({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.get_db_schema() # Handle response print(res) /textql.rpc.public.app.AppService/GetAppDBTablePreview: post: tags: - AppService summary: 'View analytics: reads the engagement views recorded on app page load.' description: 'View analytics: reads the engagement views recorded on app page load.' operationId: AppService_GetAppDBTablePreview x-speakeasy-group: apps x-speakeasy-name-override: getDBTablePreview parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppDBTablePreviewRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppDBTablePreviewResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.getDBTablePreview({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.get_db_table_preview() # Handle response print(res) /textql.rpc.public.app.AppService/GetAppMemberState: post: tags: - AppService summary: Per-member notification subscription to an app ("watch this app"). description: Per-member notification subscription to an app ("watch this app"). operationId: AppService_GetAppMemberState x-speakeasy-group: apps x-speakeasy-name-override: getMemberState parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppMemberStateRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppMemberStateResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.getMemberState({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.get_member_state() # Handle response print(res) /textql.rpc.public.app.AppService/GetAppVersion: post: tags: - AppService summary: Overwrites the published tree's pinned _runtime/ana-1.js with the platform's current copy so host-driven affordances (comment hit-testing) work on older documents; never touches authored content or data. repinned=false for legacy pre-tree documents. description: Overwrites the published tree's pinned _runtime/ana-1.js with the platform's current copy so host-driven affordances (comment hit-testing) work on older documents; never touches authored content or data. repinned=false for legacy pre-tree documents. operationId: AppService_GetAppVersion x-speakeasy-group: apps x-speakeasy-name-override: getAppVersion parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppVersionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppVersionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.getAppVersion({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.get_app_version() # Handle response print(res) /textql.rpc.public.app.AppService/GetAppViewStats: post: tags: - AppService summary: Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). description: Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). operationId: AppService_GetAppViewStats x-speakeasy-group: apps x-speakeasy-name-override: getAppViewStats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppViewStatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetAppViewStatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.getAppViewStats({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.get_app_view_stats() # Handle response print(res) /textql.rpc.public.app.AppService/GetMembersWithApps: post: tags: - AppService summary: GetMembersWithApps operationId: AppService_GetMembersWithApps x-speakeasy-group: apps x-speakeasy-name-override: getMembersWithApps parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetMembersWithAppsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.GetMembersWithAppsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.getMembersWithApps({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.get_members_with_apps(body={}) # Handle response print(res) /textql.rpc.public.app.AppService/InvokeAppComputeFunction: post: tags: - AppService summary: InvokeAppComputeFunction operationId: AppService_InvokeAppComputeFunction x-speakeasy-group: apps x-speakeasy-name-override: invokeComputeFunction parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.InvokeAppComputeFunctionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.InvokeAppComputeFunctionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.invokeComputeFunction({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.invoke_compute_function() # Handle response print(res) /textql.rpc.public.app.AppService/ListAppActivitySince: post: tags: - AppService summary: Favorite/unfavorite a library item (app or dashboard) for the calling member. Per-member, per-org; favorited=false hard-deletes the row. Covers both primitives since the merged library page pins apps and dashboards through one client. description: |- Favorite/unfavorite a library item (app or dashboard) for the calling member. Per-member, per-org; favorited=false hard-deletes the row. Covers both primitives since the merged library page pins apps and dashboards through one client. operationId: AppService_ListAppActivitySince x-speakeasy-group: apps x-speakeasy-name-override: listActivitySince parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.ListAppActivitySinceRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.ListAppActivitySinceResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.listActivitySince({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.list_activity_since() # Handle response print(res) /textql.rpc.public.app.AppService/ListAppVersions: post: tags: - AppService summary: Re-fetches data sources, rebuilds the document with a fresh snapshot, re-uploads. description: Re-fetches data sources, rebuilds the document with a fresh snapshot, re-uploads. operationId: AppService_ListAppVersions x-speakeasy-group: apps x-speakeasy-name-override: listVersions parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.ListAppVersionsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.ListAppVersionsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.listVersions({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.list_versions() # Handle response print(res) /textql.rpc.public.app.AppService/ListApps: post: tags: - AppService summary: ListApps operationId: AppService_ListApps x-speakeasy-group: apps x-speakeasy-name-override: list parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.ListAppsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.ListAppsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.list({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.list() # Handle response print(res) /textql.rpc.public.app.AppService/ListMyAppMemberActivity: post: tags: - AppService summary: 'Watcher management: app owners/editors and org admins list the app''s subscribers and add/remove members (Upsert/Delete with member_id).' description: |- Watcher management: app owners/editors and org admins list the app's subscribers and add/remove members (Upsert/Delete with member_id). operationId: AppService_ListMyAppMemberActivity x-speakeasy-group: apps x-speakeasy-name-override: listMyMemberActivity parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.ListMyAppMemberActivityRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.ListMyAppMemberActivityResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.listMyMemberActivity({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.list_my_member_activity() # Handle response print(res) /textql.rpc.public.app.AppService/MoveAppToFolder: post: tags: - AppService summary: MoveAppToFolder operationId: AppService_MoveAppToFolder x-speakeasy-group: apps x-speakeasy-name-override: moveAppToFolder parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.MoveAppToFolderRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.MoveAppToFolderResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.moveAppToFolder({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.move_app_to_folder() # Handle response print(res) /textql.rpc.public.app.AppService/PresenceHeartbeat: post: tags: - AppService summary: 'Ordering overlay for the sidebar Bookmarks section: one position list per member covering favorites and thread bookmarks ('':'' keys). Membership truth stays in library_favorite / chat bookmarks; this persists only the drag-and-drop order.' description: |- Ordering overlay for the sidebar Bookmarks section: one position list per member covering favorites and thread bookmarks (':' keys). Membership truth stays in library_favorite / chat bookmarks; this persists only the drag-and-drop order. operationId: AppService_PresenceHeartbeat x-speakeasy-group: apps x-speakeasy-name-override: presenceHeartbeat parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.PresenceHeartbeatRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.presenceHeartbeat({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.presence_heartbeat() # Handle response print(res) /textql.rpc.public.app.AppService/RecordAppMemberActivity: post: tags: - AppService summary: RecordAppMemberActivity operationId: AppService_RecordAppMemberActivity x-speakeasy-group: apps x-speakeasy-name-override: recordMemberActivity parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.RecordAppMemberActivityRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.RecordAppMemberActivityResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.recordMemberActivity({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.record_member_activity() # Handle response print(res) /textql.rpc.public.app.AppService/RefreshApp: post: tags: - AppService summary: Moves an app into a library folder (or to root when folder_id is empty). description: Moves an app into a library folder (or to root when folder_id is empty). operationId: AppService_RefreshApp x-speakeasy-group: apps x-speakeasy-name-override: refresh parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.RefreshAppRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.RefreshAppResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.refresh({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.refresh() # Handle response print(res) /textql.rpc.public.app.AppService/RestoreAppVersion: post: tags: - AppService summary: 'Version history: git-backed, one version per save (plus legacy publish-era snapshots); authors can list and restore.' description: 'Version history: git-backed, one version per save (plus legacy publish-era snapshots); authors can list and restore.' operationId: AppService_RestoreAppVersion x-speakeasy-group: apps x-speakeasy-name-override: restoreAppVersion parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.RestoreAppVersionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.RestoreAppVersionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.restoreAppVersion({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.restore_app_version() # Handle response print(res) /textql.rpc.public.app.AppService/SetAppMemberState: post: tags: - AppService summary: SetAppMemberState operationId: AppService_SetAppMemberState x-speakeasy-group: apps x-speakeasy-name-override: setMemberState parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.SetAppMemberStateRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.SetAppMemberStateResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.setMemberState({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.set_member_state() # Handle response print(res) /textql.rpc.public.app.AppService/SetFavorite: post: tags: - AppService summary: Executes a declared compute function on a pooled sandbox worker; gated, org-scoped, rate-limited. description: Executes a declared compute function on a pooled sandbox worker; gated, org-scoped, rate-limited. operationId: AppService_SetFavorite x-speakeasy-group: apps x-speakeasy-name-override: setFavorite parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.SetFavoriteRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.SetFavoriteResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.setFavorite({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.set_favorite() # Handle response print(res) /textql.rpc.public.app.AppService/StreamAppActivity: {} /textql.rpc.public.app.AppService/UpdateApp: post: tags: - AppService summary: UpdateApp operationId: AppService_UpdateApp x-speakeasy-group: apps x-speakeasy-name-override: update parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.UpdateAppRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.app.UpdateAppResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.apps.update({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.apps.update() # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/ConfigureOtlpExport: post: tags: - AuditLogService summary: ConfigureOtlpExport operationId: AuditLogService_ConfigureOtlpExport x-speakeasy-group: auditLogs x-speakeasy-name-override: configureOtlpExport parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.ConfigureOtlpExportRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.ConfigureOtlpExportResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.configureOtlpExport({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.configure_otlp_export() # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/ConfigureS3Export: post: tags: - AuditLogService summary: ConfigureS3Export operationId: AuditLogService_ConfigureS3Export x-speakeasy-group: auditLogs x-speakeasy-name-override: configureS3Export parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.ConfigureS3ExportRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.ConfigureS3ExportResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.configureS3Export({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.configure_s3_export() # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/DeleteOtlpExportConfig: post: tags: - AuditLogService summary: DeleteOtlpExportConfig operationId: AuditLogService_DeleteOtlpExportConfig x-speakeasy-group: auditLogs x-speakeasy-name-override: deleteOtlpExportConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.DeleteOtlpExportConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.DeleteOtlpExportConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.deleteOtlpExportConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.delete_otlp_export_config(body={}) # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/DeleteS3ExportConfig: post: tags: - AuditLogService summary: DeleteS3ExportConfig operationId: AuditLogService_DeleteS3ExportConfig x-speakeasy-group: auditLogs x-speakeasy-name-override: deleteS3ExportConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.DeleteS3ExportConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.DeleteS3ExportConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.deleteS3ExportConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.delete_s3_export_config(body={}) # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/GetOtlpExportConfig: post: tags: - AuditLogService summary: GetOtlpExportConfig operationId: AuditLogService_GetOtlpExportConfig x-speakeasy-group: auditLogs x-speakeasy-name-override: getOtlpExportConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.GetOtlpExportConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.GetOtlpExportConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.getOtlpExportConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.get_otlp_export_config(body={}) # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/GetS3ExportConfig: post: tags: - AuditLogService summary: GetS3ExportConfig operationId: AuditLogService_GetS3ExportConfig x-speakeasy-group: auditLogs x-speakeasy-name-override: getS3ExportConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.GetS3ExportConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.GetS3ExportConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.getS3ExportConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.get_s3_export_config(body={}) # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/ListAuditLogs: post: tags: - AuditLogService summary: ListAuditLogs operationId: AuditLogService_ListAuditLogs x-speakeasy-group: auditLogs x-speakeasy-name-override: list parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.ListAuditLogsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.ListAuditLogsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.list({ body: { after: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.list(after=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/TestOtlpExportConnection: post: tags: - AuditLogService summary: TestOtlpExportConnection operationId: AuditLogService_TestOtlpExportConnection x-speakeasy-group: auditLogs x-speakeasy-name-override: testOtlpExportConnection parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.TestOtlpExportConnectionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.TestOtlpExportConnectionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.testOtlpExportConnection({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.test_otlp_export_connection() # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/TestS3ExportConnection: post: tags: - AuditLogService summary: TestS3ExportConnection operationId: AuditLogService_TestS3ExportConnection x-speakeasy-group: auditLogs x-speakeasy-name-override: testS3ExportConnection parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.TestS3ExportConnectionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.TestS3ExportConnectionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.testS3ExportConnection({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.test_s3_export_connection() # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/TriggerOtlpExport: post: tags: - AuditLogService summary: TriggerOtlpExport operationId: AuditLogService_TriggerOtlpExport x-speakeasy-group: auditLogs x-speakeasy-name-override: triggerOtlpExport parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.TriggerOtlpExportRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.TriggerOtlpExportResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.triggerOtlpExport({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.trigger_otlp_export(body={}) # Handle response print(res) /textql.rpc.public.audit_log.AuditLogService/TriggerS3Export: post: tags: - AuditLogService summary: TriggerS3Export operationId: AuditLogService_TriggerS3Export x-speakeasy-group: auditLogs x-speakeasy-name-override: triggerS3Export parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.TriggerS3ExportRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.audit_log.TriggerS3ExportResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.auditLogs.triggerS3Export({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.audit_logs.trigger_s3_export(body={}) # Handle response print(res) /textql.rpc.public.chat.ChatService/ApproveContextPromptChange: post: tags: - ChatService summary: ApproveContextPromptChange operationId: ChatService_ApproveContextPromptChange x-speakeasy-group: chats x-speakeasy-name-override: approveContextPromptChange parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.ApproveContextPromptChangeRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.ApproveContextPromptChangeResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.approveContextPromptChange({ body: { cellId: "", editedContext: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.approve_context_prompt_change(cell_id="", edited_context="") # Handle response print(res) /textql.rpc.public.chat.ChatService/ApproveOntologyChange: post: tags: - ChatService summary: ApproveOntologyChange operationId: ChatService_ApproveOntologyChange x-speakeasy-group: chats x-speakeasy-name-override: approveOntologyChange parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.ApproveOntologyChangeRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.ApproveOntologyChangeResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.approveOntologyChange({ body: { cellId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.approve_ontology_change(cell_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/AttachAgentToChat: post: tags: - ChatService summary: AttachAgentToChat operationId: ChatService_AttachAgentToChat x-speakeasy-group: chats x-speakeasy-name-override: attachAgent parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.AttachAgentToChatRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.AttachAgentToChatResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.attachAgent({ body: { chatId: "", agentId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.attach_agent(chat_id="", agent_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/AttachApp: post: tags: - ChatService summary: AttachApp operationId: ChatService_AttachApp x-speakeasy-group: chats x-speakeasy-name-override: attachApp parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.AttachAppRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.AttachAppResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.attachApp({ body: { chatId: "", appId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.attach_app(chat_id="", app_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/AttachDashboard: post: tags: - ChatService summary: AttachDashboard operationId: ChatService_AttachDashboard x-speakeasy-group: chats x-speakeasy-name-override: attachDashboard parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.AttachDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.AttachDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.attachDashboard({ body: { chatId: "", dashboardId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.attach_dashboard(chat_id="", dashboard_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/AttachDataset: post: tags: - ChatService summary: RateChatCell appends a row to cell_rating for every click; thumbs-down also upserts a user_thumbs_down thread_warning. description: RateChatCell appends a row to cell_rating for every click; thumbs-down also upserts a user_thumbs_down thread_warning. operationId: ChatService_AttachDataset x-speakeasy-group: chats x-speakeasy-name-override: attachDataset parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.AttachDatasetRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.AttachDatasetResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.attachDataset({ body: { chatId: "", datasetId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.attach_dataset(chat_id="", dataset_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/BookmarkChat: post: tags: - ChatService summary: BookmarkChat operationId: ChatService_BookmarkChat x-speakeasy-group: chats x-speakeasy-name-override: bookmark parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.BookmarkChatRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.bookmark({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.bookmark(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/CancelStream: post: tags: - ChatService summary: CancelStream operationId: ChatService_CancelStream x-speakeasy-group: chats x-speakeasy-name-override: cancelStream parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.CancelStreamRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.CancelStreamResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.cancelStream({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.cancel_stream(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/CheckChatPermissions: post: tags: - ChatService summary: CheckChatPermissions operationId: ChatService_CheckChatPermissions x-speakeasy-group: chats x-speakeasy-name-override: checkPermissions parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.CheckChatPermissionsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.CheckChatPermissionsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.checkPermissions({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.check_permissions(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/CheckHealth: post: tags: - ChatService summary: CheckHealth operationId: ChatService_CheckHealth x-speakeasy-group: chats x-speakeasy-name-override: checkHealth parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.CheckHealthRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.CheckHealthResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.checkHealth({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.check_health() # Handle response print(res) /textql.rpc.public.chat.ChatService/CheckStreamlitHealth: post: tags: - ChatService summary: CheckStreamlitHealth operationId: ChatService_CheckStreamlitHealth x-speakeasy-group: chats x-speakeasy-name-override: checkStreamlitHealth parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.CheckStreamlitHealthRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.CheckStreamlitHealthResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.checkStreamlitHealth({ body: { chatId: "", cellId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.check_streamlit_health(chat_id="", cell_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/CreateChat: post: tags: - ChatService summary: CreateChat operationId: ChatService_CreateChat x-speakeasy-group: chats x-speakeasy-name-override: createChat parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.CreateRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.CreateResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.createChat({ body: { paradigm: {}, }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.create_chat(paradigm={}) # Handle response print(res) /textql.rpc.public.chat.ChatService/DeleteChat: post: tags: - ChatService summary: DeleteChat operationId: ChatService_DeleteChat x-speakeasy-group: chats x-speakeasy-name-override: delete parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.DeleteChatRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.delete({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.delete(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/DismissQuestions: post: tags: - ChatService summary: Resolve a halted questions cell. Submit hands the answers to the agent and resumes it; Dismiss hands over only the answered count and does NOT resume (the user's next message becomes the dismissal reason). description: |- Resolve a halted questions cell. Submit hands the answers to the agent and resumes it; Dismiss hands over only the answered count and does NOT resume (the user's next message becomes the dismissal reason). operationId: ChatService_DismissQuestions x-speakeasy-group: chats x-speakeasy-name-override: dismissQuestions parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.DismissQuestionsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.DismissQuestionsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.dismissQuestions({ body: { cellId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.dismiss_questions(cell_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/DuplicateChat: post: tags: - ChatService summary: DuplicateChat operationId: ChatService_DuplicateChat x-speakeasy-group: chats x-speakeasy-name-override: duplicateChat parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.DuplicateChatRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.DuplicateChatResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.duplicateChat({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.duplicate_chat(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/GetAPIChatAnswer: post: tags: - ChatService summary: GetAPIChatAnswer operationId: ChatService_GetAPIChatAnswer x-speakeasy-group: chats x-speakeasy-name-override: getApiAnswer parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetAPIChatAnswerRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetAPIChatAnswerResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getApiAnswer({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_api_answer(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/GetArtifact: post: tags: - ChatService summary: GetArtifact operationId: ChatService_GetArtifact x-speakeasy-group: chats x-speakeasy-name-override: getArtifact parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetArtifactRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetArtifactResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getArtifact({ body: { artifactId: "", chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_artifact(artifact_id="", chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/GetChat: post: tags: - ChatService summary: GetChat operationId: ChatService_GetChat x-speakeasy-group: chats x-speakeasy-name-override: get parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetChatRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetChatResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.get({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/GetChatArtifactsSummary: post: tags: - ChatService summary: GetChatArtifactsSummary operationId: ChatService_GetChatArtifactsSummary x-speakeasy-group: chats x-speakeasy-name-override: getArtifactsSummary parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetChatArtifactsSummaryRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetChatArtifactsSummaryResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getArtifactsSummary({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_artifacts_summary(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/GetChatExecutionTiming: post: tags: - ChatService summary: GetChatExecutionTiming operationId: ChatService_GetChatExecutionTiming x-speakeasy-group: chats x-speakeasy-name-override: getChatExecutionTiming parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetChatExecutionTimingRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetChatExecutionTimingResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getChatExecutionTiming({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_chat_execution_timing(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/GetChatHistory: post: tags: - ChatService summary: GetChatHistory operationId: ChatService_GetChatHistory x-speakeasy-group: chats x-speakeasy-name-override: getHistory parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.HistoryRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.HistoryResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getHistory({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_history(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/GetChats: post: tags: - ChatService summary: GetChats operationId: ChatService_GetChats x-speakeasy-group: chats x-speakeasy-name-override: getAll parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetChatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetChatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getAll({ body: { createdAfter: new Date("2023-01-15T01:30:15.01Z"), createdBefore: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_all(created_after=parse_datetime("2023-01-15T01:30:15.01Z"), created_before=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.chat.ChatService/GetCompletionParameters: post: tags: - ChatService summary: List distinct chat creators the user can access description: List distinct chat creators the user can access operationId: ChatService_GetCompletionParameters x-speakeasy-group: chats x-speakeasy-name-override: getCompletionParameters parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetCompletionParametersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetCompletionParametersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getCompletionParameters({ body: { chatId: "", cellId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_completion_parameters(chat_id="", cell_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/GetCompletionParametersBatch: post: tags: - ChatService summary: GetCompletionParametersBatch operationId: ChatService_GetCompletionParametersBatch x-speakeasy-group: chats x-speakeasy-name-override: getCompletionParametersBatch parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetCompletionParametersBatchRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetCompletionParametersBatchResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getCompletionParametersBatch({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_completion_parameters_batch(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/GetLlmUsage: post: tags: - ChatService summary: GetLlmUsage operationId: ChatService_GetLlmUsage x-speakeasy-group: chats x-speakeasy-name-override: getLlmUsage parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetLlmUsageRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetLlmUsageResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getLlmUsage({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_llm_usage(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/GetMembersWithChats: post: tags: - ChatService summary: GetMembersWithChats operationId: ChatService_GetMembersWithChats x-speakeasy-group: chats x-speakeasy-name-override: getMembersWithChats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetMembersWithChatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetMembersWithChatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getMembersWithChats({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_members_with_chats(body={}) # Handle response print(res) /textql.rpc.public.chat.ChatService/GetPlaybookChats: post: tags: - ChatService summary: GetPlaybookChats operationId: ChatService_GetPlaybookChats x-speakeasy-group: chats x-speakeasy-name-override: getPlaybookChats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetPlaybookChatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.GetPlaybookChatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.getPlaybookChats({ body: { playbookId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.get_playbook_chats(playbook_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/PollChatEvents: post: tags: - ChatService summary: PollChatEvents operationId: ChatService_PollChatEvents x-speakeasy-group: chats x-speakeasy-name-override: pollEvents parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.PollChatEventsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.PollChatEventsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.pollEvents({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.poll_events(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/QueryOneShot: post: tags: - ChatService summary: QueryOneShot operationId: ChatService_QueryOneShot x-speakeasy-group: chats x-speakeasy-name-override: queryOneShot parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.QueryOneShotRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.QueryOneShotResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.queryOneShot({ body: { question: "", paradigm: {}, }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.query_one_shot(question="", paradigm={}) # Handle response print(res) /textql.rpc.public.chat.ChatService/RateChatCell: post: tags: - ChatService summary: RateChatCell operationId: ChatService_RateChatCell x-speakeasy-group: chats x-speakeasy-name-override: rateCell parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.RateChatCellRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.rateCell({ body: { chatId: "", cellId: "", rating: "CELL_RATING_UP", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.rate_cell(chat_id="", cell_id="", rating="CELL_RATING_UP") # Handle response print(res) /textql.rpc.public.chat.ChatService/RejectContextPromptChange: post: tags: - ChatService summary: RejectContextPromptChange operationId: ChatService_RejectContextPromptChange x-speakeasy-group: chats x-speakeasy-name-override: rejectContextPromptChange parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.RejectContextPromptChangeRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.RejectContextPromptChangeResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.rejectContextPromptChange({ body: { cellId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.reject_context_prompt_change(cell_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/RejectOntologyChange: post: tags: - ChatService summary: Resolve a halted ask_approval form cell. Submit runs the form's submission and continues the agent with the outcome; Reject discards it (passive, no run); Dismiss treats it as a change request (no run, next message says what to change). All three set the cell's outcome, like the other approve/deny cells. description: |- Resolve a halted ask_approval form cell. Submit runs the form's submission and continues the agent with the outcome; Reject discards it (passive, no run); Dismiss treats it as a change request (no run, next message says what to change). All three set the cell's outcome, like the other approve/deny cells. operationId: ChatService_RejectOntologyChange x-speakeasy-group: chats x-speakeasy-name-override: rejectOntologyChange parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.RejectOntologyChangeRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.RejectOntologyChangeResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.rejectOntologyChange({ body: { cellId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.reject_ontology_change(cell_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/RunChat: post: tags: - ChatService summary: RunChat operationId: ChatService_RunChat x-speakeasy-group: chats x-speakeasy-name-override: run parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.RunChatRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.RunChatResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.run({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.run(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/SendMessage: post: tags: - ChatService summary: SendMessage operationId: ChatService_SendMessage x-speakeasy-group: chats x-speakeasy-name-override: send parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.SendRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.SendResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.send({ body: { chatId: "", message: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.send(chat_id="", message="") # Handle response print(res) /textql.rpc.public.chat.ChatService/StreamChat: {} /textql.rpc.public.chat.ChatService/SubmitContextPromptChange: post: tags: - ChatService summary: SubmitContextPromptChange operationId: ChatService_SubmitContextPromptChange x-speakeasy-group: chats x-speakeasy-name-override: submitContextPromptChange parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.SubmitContextPromptChangeRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.SubmitContextPromptChangeResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.submitContextPromptChange({ body: { cellId: "", editedContext: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.submit_context_prompt_change(cell_id="", edited_context="") # Handle response print(res) /textql.rpc.public.chat.ChatService/SubmitQuestions: post: tags: - ChatService summary: SubmitQuestions operationId: ChatService_SubmitQuestions x-speakeasy-group: chats x-speakeasy-name-override: submitQuestions parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.SubmitQuestionsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.SubmitQuestionsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.submitQuestions({ body: { cellId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.submit_questions(cell_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/UnbookmarkChat: post: tags: - ChatService summary: UnbookmarkChat operationId: ChatService_UnbookmarkChat x-speakeasy-group: chats x-speakeasy-name-override: unbookmark parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.UnbookmarkChatRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.unbookmark({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.unbookmark(chat_id="") # Handle response print(res) /textql.rpc.public.chat.ChatService/UpdateChat: post: tags: - ChatService summary: UpdateChat operationId: ChatService_UpdateChat x-speakeasy-group: chats x-speakeasy-name-override: update parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.UpdateChatRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.chat.UpdateChatResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.chats.update({ body: { chatId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.chats.update(chat_id="") # Handle response print(res) /textql.rpc.public.connector.ConnectorService/CreateConnector: post: tags: - ConnectorService summary: CreateConnector operationId: ConnectorService_CreateConnector x-speakeasy-group: connectors x-speakeasy-name-override: create parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.CreateConnectorRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.CreateConnectorResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.create({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.create() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/DeleteConnector: post: tags: - ConnectorService summary: DeleteConnector operationId: ConnectorService_DeleteConnector x-speakeasy-group: connectors x-speakeasy-name-override: delete parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.DeleteConnectorRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.DeleteConnectorResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.delete({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.delete() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/DuplicateConnector: post: tags: - ConnectorService summary: DuplicateConnector operationId: ConnectorService_DuplicateConnector x-speakeasy-group: connectors x-speakeasy-name-override: duplicateConnector parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.DuplicateConnectorRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.DuplicateConnectorResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.duplicateConnector({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.duplicate_connector() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/ExecuteQuery: post: tags: - ConnectorService summary: ExecuteQuery operationId: ConnectorService_ExecuteQuery x-speakeasy-group: connectors x-speakeasy-name-override: executeQuery parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.ExecuteQueryRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.ExecuteQueryResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.executeQuery({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.execute_query() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/GetConnector: post: tags: - ConnectorService summary: GetConnector operationId: ConnectorService_GetConnector x-speakeasy-group: connectors x-speakeasy-name-override: get parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.get({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.get() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/GetConnectorCellDurations: post: tags: - ConnectorService summary: GetConnectorCellDurations operationId: ConnectorService_GetConnectorCellDurations x-speakeasy-group: connectors x-speakeasy-name-override: getConnectorCellDurations parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorCellDurationsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorCellDurationsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.getConnectorCellDurations({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.get_connector_cell_durations() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/GetConnectorChats: post: tags: - ConnectorService summary: GetConnectorChats operationId: ConnectorService_GetConnectorChats x-speakeasy-group: connectors x-speakeasy-name-override: getChats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorChatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorChatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.getChats({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.get_chats() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/GetConnectorDashboards: post: tags: - ConnectorService summary: GetConnectorDashboards operationId: ConnectorService_GetConnectorDashboards x-speakeasy-group: connectors x-speakeasy-name-override: getDashboards parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorDashboardsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorDashboardsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.getDashboards({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.get_dashboards() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/GetConnectorStats: post: tags: - ConnectorService summary: GetConnectorStats operationId: ConnectorService_GetConnectorStats x-speakeasy-group: connectors x-speakeasy-name-override: getConnectorStats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorStatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorStatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.getConnectorStats({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.get_connector_stats() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/GetConnectorUsage: post: tags: - ConnectorService summary: GetConnectorUsage operationId: ConnectorService_GetConnectorUsage x-speakeasy-group: connectors x-speakeasy-name-override: getUsage parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorUsageRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorUsageResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.getUsage({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.get_usage() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/GetConnectors: post: tags: - ConnectorService summary: GetConnectors operationId: ConnectorService_GetConnectors x-speakeasy-group: connectors x-speakeasy-name-override: getConnectors parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetConnectorsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.getConnectors({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.get_connectors(body={}) # Handle response print(res) /textql.rpc.public.connector.ConnectorService/GetExampleQueries: post: tags: - ConnectorService summary: GetExampleQueries operationId: ConnectorService_GetExampleQueries x-speakeasy-group: connectors x-speakeasy-name-override: getExampleQueries parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetExampleQueriesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetExampleQueriesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.getExampleQueries({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.get_example_queries() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/GetTablePreview: post: tags: - ConnectorService summary: GetTablePreview operationId: ConnectorService_GetTablePreview x-speakeasy-group: connectors x-speakeasy-name-override: getTablePreview parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetTablePreviewRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.GetTablePreviewResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.getTablePreview({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.get_table_preview() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/ListConnectorTables: post: tags: - ConnectorService summary: ListConnectorTables operationId: ConnectorService_ListConnectorTables x-speakeasy-group: connectors x-speakeasy-name-override: listTables parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.ListConnectorTablesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.ListConnectorTablesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.listTables({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.list_tables() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/ListQueryTemplates: post: tags: - ConnectorService summary: ListQueryTemplates operationId: ConnectorService_ListQueryTemplates x-speakeasy-group: connectors x-speakeasy-name-override: listQueryTemplates parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.ListQueryTemplatesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.ListQueryTemplatesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.listQueryTemplates({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.list_query_templates() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/TestConnector: post: tags: - ConnectorService summary: TestConnector operationId: ConnectorService_TestConnector x-speakeasy-group: connectors x-speakeasy-name-override: test parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.TestConnectorRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.TestConnectorResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.test({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.test() # Handle response print(res) /textql.rpc.public.connector.ConnectorService/UpdateConnector: post: tags: - ConnectorService summary: UpdateConnector operationId: ConnectorService_UpdateConnector x-speakeasy-group: connectors x-speakeasy-name-override: update parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.UpdateConnectorRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.connector.UpdateConnectorResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.connectors.update({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.connectors.update() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/CheckDashboardHealth: post: tags: - DashboardService summary: CheckDashboardHealth operationId: DashboardService_CheckDashboardHealth x-speakeasy-group: dashboards x-speakeasy-name-override: checkHealth parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.CheckDashboardHealthRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.CheckDashboardHealthResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.checkHealth({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.check_health() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/CreateDashboard: post: tags: - DashboardService summary: CRUD operations description: CRUD operations operationId: DashboardService_CreateDashboard x-speakeasy-group: dashboards x-speakeasy-name-override: createDashboard parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.CreateDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.CreateDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.createDashboard({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.create_dashboard() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/CreateDashboardFolder: post: tags: - DashboardService summary: Folder management description: Folder management operationId: DashboardService_CreateDashboardFolder x-speakeasy-group: dashboards x-speakeasy-name-override: createFolder parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.CreateDashboardFolderRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.CreateDashboardFolderResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.createFolder({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.create_folder() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/DeleteDashboard: post: tags: - DashboardService summary: DeleteDashboard operationId: DashboardService_DeleteDashboard x-speakeasy-group: dashboards x-speakeasy-name-override: delete parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.DeleteDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.delete({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.delete() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/DeleteDashboardFolder: post: tags: - DashboardService summary: DeleteDashboardFolder operationId: DashboardService_DeleteDashboardFolder x-speakeasy-group: dashboards x-speakeasy-name-override: deleteFolder parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.DeleteDashboardFolderRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.deleteFolder({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.delete_folder() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/DiscardDashboardChanges: post: tags: - DashboardService summary: DiscardDashboardChanges operationId: DashboardService_DiscardDashboardChanges x-speakeasy-group: dashboards x-speakeasy-name-override: discardChanges parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.DiscardDashboardChangesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.DiscardDashboardChangesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.discardChanges({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.discard_changes() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/DuplicateDashboard: post: tags: - DashboardService summary: DuplicateDashboard operationId: DashboardService_DuplicateDashboard x-speakeasy-group: dashboards x-speakeasy-name-override: duplicate parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.DuplicateDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.DuplicateDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.duplicate({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.duplicate() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/GetDashboard: post: tags: - DashboardService summary: GetDashboard operationId: DashboardService_GetDashboard x-speakeasy-group: dashboards x-speakeasy-name-override: get parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.GetDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.GetDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.get({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.get() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/GetDashboardVersion: post: tags: - DashboardService summary: GetDashboardVersion operationId: DashboardService_GetDashboardVersion x-speakeasy-group: dashboards x-speakeasy-name-override: getVersion parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.GetDashboardVersionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.GetDashboardVersionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.getVersion({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.get_version() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/GetDashboardViewStats: post: tags: - DashboardService summary: View analytics description: View analytics operationId: DashboardService_GetDashboardViewStats x-speakeasy-group: dashboards x-speakeasy-name-override: getDashboardViewStats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.GetDashboardViewStatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.GetDashboardViewStatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.getDashboardViewStats({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.get_dashboard_view_stats() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/GetMembersWithDashboards: post: tags: - DashboardService summary: Member management description: Member management operationId: DashboardService_GetMembersWithDashboards x-speakeasy-group: dashboards x-speakeasy-name-override: getMembersWithDashboards parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.GetMembersWithDashboardsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.GetMembersWithDashboardsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.getMembersWithDashboards({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.get_members_with_dashboards(body={}) # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/ListDashboardFolders: post: tags: - DashboardService summary: ListDashboardFolders operationId: DashboardService_ListDashboardFolders x-speakeasy-group: dashboards x-speakeasy-name-override: listFolders parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.ListDashboardFoldersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.ListDashboardFoldersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.listFolders({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.list_folders(body={}) # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/ListDashboardVersions: post: tags: - DashboardService summary: Version history description: Version history operationId: DashboardService_ListDashboardVersions x-speakeasy-group: dashboards x-speakeasy-name-override: listVersions parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.ListDashboardVersionsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.ListDashboardVersionsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.listVersions({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.list_versions() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/ListDashboards: post: tags: - DashboardService summary: ListDashboards operationId: DashboardService_ListDashboards x-speakeasy-group: dashboards x-speakeasy-name-override: list parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.ListDashboardsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.ListDashboardsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.list({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.list() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/MoveDashboardToFolder: post: tags: - DashboardService summary: MoveDashboardToFolder operationId: DashboardService_MoveDashboardToFolder x-speakeasy-group: dashboards x-speakeasy-name-override: moveToFolder parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.MoveDashboardToFolderRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.MoveDashboardToFolderResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.moveToFolder({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.move_to_folder() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/PreviewConfigDashboard: post: tags: - DashboardService summary: 'Config-managed dashboards: render a `.dashboard` straight from a patch ref before it merges (ADR-0022). Runs as the file''s run_as, gated on the previewer being authorized for it; persists nothing.' description: |- Config-managed dashboards: render a `.dashboard` straight from a patch ref before it merges (ADR-0022). Runs as the file's run_as, gated on the previewer being authorized for it; persists nothing. operationId: DashboardService_PreviewConfigDashboard x-speakeasy-group: dashboards x-speakeasy-name-override: previewConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.PreviewConfigDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.PreviewConfigDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.previewConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.preview_config() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/PublishDashboard: post: tags: - DashboardService summary: Publishing workflow description: Publishing workflow operationId: DashboardService_PublishDashboard x-speakeasy-group: dashboards x-speakeasy-name-override: publish parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.PublishDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.PublishDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.publish({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.publish() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/RegenerateScreenshot: post: tags: - DashboardService summary: Screenshot management description: Screenshot management operationId: DashboardService_RegenerateScreenshot x-speakeasy-group: dashboards x-speakeasy-name-override: regenerateScreenshot parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.RegenerateScreenshotRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.RegenerateScreenshotResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.regenerateScreenshot({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.regenerate_screenshot() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/RestoreDashboardVersion: post: tags: - DashboardService summary: RestoreDashboardVersion operationId: DashboardService_RestoreDashboardVersion x-speakeasy-group: dashboards x-speakeasy-name-override: restoreDashboardVersion parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.RestoreDashboardVersionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.RestoreDashboardVersionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.restoreDashboardVersion({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.restore_dashboard_version() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/RunScheduledDashboard: post: tags: - DashboardService summary: RunScheduledDashboard operationId: DashboardService_RunScheduledDashboard x-speakeasy-group: dashboards x-speakeasy-name-override: runScheduledDashboard parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.RunScheduledDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.RunScheduledDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.runScheduledDashboard({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.run_scheduled_dashboard() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/SpawnDashboard: post: tags: - DashboardService summary: Dashboard execution description: Dashboard execution operationId: DashboardService_SpawnDashboard x-speakeasy-group: dashboards x-speakeasy-name-override: spawn parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.SpawnDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.SpawnDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.spawn({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.spawn() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/UpdateDashboard: post: tags: - DashboardService summary: UpdateDashboard operationId: DashboardService_UpdateDashboard x-speakeasy-group: dashboards x-speakeasy-name-override: updateDashboard parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.UpdateDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.UpdateDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.updateDashboard({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.update_dashboard() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/UpdateDashboardFolder: post: tags: - DashboardService summary: UpdateDashboardFolder operationId: DashboardService_UpdateDashboardFolder x-speakeasy-group: dashboards x-speakeasy-name-override: updateDashboardFolder parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.UpdateDashboardFolderRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.UpdateDashboardFolderResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.updateDashboardFolder({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.update_dashboard_folder() # Handle response print(res) /textql.rpc.public.dashboard.DashboardService/UpdateDashboardSchedule: post: tags: - DashboardService summary: Scheduling description: Scheduling operationId: DashboardService_UpdateDashboardSchedule x-speakeasy-group: dashboards x-speakeasy-name-override: updateDashboardSchedule parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.UpdateDashboardScheduleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dashboard.UpdateDashboardScheduleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.dashboards.updateDashboardSchedule({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.dashboards.update_dashboard_schedule() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/CreateFolder: post: tags: - DatasetService summary: CreateFolder operationId: DatasetService_CreateFolder x-speakeasy-group: datasets x-speakeasy-name-override: createFolder parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.CreateFolderRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.CreateFolderResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.createFolder({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.create_folder() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/CreatePowerBIDataset: post: tags: - DatasetService summary: CreatePowerBIDataset operationId: DatasetService_CreatePowerBIDataset x-speakeasy-group: datasets x-speakeasy-name-override: createPowerBIDataset parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.CreatePowerBIDatasetRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.CreatePowerBIDatasetResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.createPowerBIDataset({ body: { reports: [ { createdDate: new Date("2023-01-15T01:30:15.01Z"), }, ], datasets: [ { createdDate: new Date("2023-01-15T01:30:15.01Z"), }, ], }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.create_power_bi_dataset(reports=[ { "created_date": parse_datetime("2023-01-15T01:30:15.01Z"), }, ], datasets=[ { "created_date": parse_datetime("2023-01-15T01:30:15.01Z"), }, ]) # Handle response print(res) /textql.rpc.public.dataset.DatasetService/CreateTableauDataset: post: tags: - DatasetService summary: Create Tableau dataset from views/datasources description: Create Tableau dataset from views/datasources operationId: DatasetService_CreateTableauDataset x-speakeasy-group: datasets x-speakeasy-name-override: createTableauDataset parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.CreateTableauDatasetRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.CreateTableauDatasetResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.createTableauDataset({ body: { views: [ { createdAt: new Date("2023-01-15T01:30:15.01Z"), updatedAt: new Date("2023-01-15T01:30:15.01Z"), }, ], datasources: [ { createdAt: new Date("2023-01-15T01:30:15.01Z"), updatedAt: new Date("2023-01-15T01:30:15.01Z"), }, ], }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.create_tableau_dataset(views=[ { "created_at": parse_datetime("2023-01-15T01:30:15.01Z"), "updated_at": parse_datetime("2023-01-15T01:30:15.01Z"), }, ], datasources=[ { "created_at": parse_datetime("2023-01-15T01:30:15.01Z"), "updated_at": parse_datetime("2023-01-15T01:30:15.01Z"), }, ]) # Handle response print(res) /textql.rpc.public.dataset.DatasetService/CreateUploadPresignUrl: post: tags: - DatasetService summary: uploads description: uploads operationId: DatasetService_CreateUploadPresignUrl x-speakeasy-group: datasets x-speakeasy-name-override: createUploadPresignUrl parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.CreateUploadPresignUrlRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.CreateUploadPresignUrlResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.createUploadPresignUrl({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.create_upload_presign_url() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/DeleteDataset: post: tags: - DatasetService summary: Delete a dataset (soft delete) description: Delete a dataset (soft delete) operationId: DatasetService_DeleteDataset x-speakeasy-group: datasets x-speakeasy-name-override: delete parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.DeleteDatasetRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.DeleteDatasetResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.delete({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.delete() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/ExportDataset: post: tags: - DatasetService summary: export dataset in "raw" format – original if dataset is uploaded, converted format otherwise (defaults to CSV) description: export dataset in "raw" format – original if dataset is uploaded, converted format otherwise (defaults to CSV) operationId: DatasetService_ExportDataset x-speakeasy-group: datasets x-speakeasy-name-override: export parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.ExportDatasetRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.ExportDatasetResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.export({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.export() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/GetDataset: post: tags: - DatasetService summary: GetDataset, GetDatasets only return metadata description: GetDataset, GetDatasets only return metadata operationId: DatasetService_GetDataset x-speakeasy-group: datasets x-speakeasy-name-override: fetch parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetDatasetRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetDatasetResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.fetch({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.fetch() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/GetDatasetStats: post: tags: - DatasetService summary: GetDatasetStats operationId: DatasetService_GetDatasetStats x-speakeasy-group: datasets x-speakeasy-name-override: getStats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetDatasetStatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetDatasetStatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.getStats({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.get_stats() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/GetDatasetValues: post: tags: - DatasetService summary: GetDatasetValues operationId: DatasetService_GetDatasetValues x-speakeasy-group: datasets x-speakeasy-name-override: getDatasetValues parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetDatasetValuesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetDatasetValuesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.getDatasetValues({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.get_dataset_values() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/GetDatasets: post: tags: - DatasetService summary: GetDatasets operationId: DatasetService_GetDatasets x-speakeasy-group: datasets x-speakeasy-name-override: get parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetDatasetsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetDatasetsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.get({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.get() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/GetDatasetsByIds: post: tags: - DatasetService summary: GetDatasetsByIds operationId: DatasetService_GetDatasetsByIds x-speakeasy-group: datasets x-speakeasy-name-override: getByIds parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetDatasetsByIdsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetDatasetsByIdsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.getByIds({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.get_by_ids() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/GetFolders: post: tags: - DatasetService summary: 'for AR: CreateFolderACL, UpdateFolderACL, DeleteFolderACL' description: 'for AR: CreateFolderACL, UpdateFolderACL, DeleteFolderACL' operationId: DatasetService_GetFolders x-speakeasy-group: datasets x-speakeasy-name-override: getFolders parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetFoldersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.GetFoldersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.getFolders({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.get_folders() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/ProcessUploadPresignUrl: post: tags: - DatasetService summary: ProcessUploadPresignUrl description: 'for AR: CreateDatasetACL, UpdateDatasetACL, DeleteDatasetACL' operationId: DatasetService_ProcessUploadPresignUrl x-speakeasy-group: datasets x-speakeasy-name-override: processUploadPresignUrl parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.ProcessUploadPresignUrlRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.ProcessUploadPresignUrlResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.processUploadPresignUrl({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.process_upload_presign_url() # Handle response print(res) /textql.rpc.public.dataset.DatasetService/UpdateDataset: post: tags: - DatasetService summary: Update dataset metadata description: Update dataset metadata operationId: DatasetService_UpdateDataset x-speakeasy-group: datasets x-speakeasy-name-override: updateDataset parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.UpdateDatasetRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.dataset.UpdateDatasetResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.datasets.updateDataset({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.datasets.update_dataset() # Handle response print(res) /textql.rpc.public.mcp.MCPService/ClearOAuthToken: post: tags: - MCPService summary: ClearOAuthToken operationId: MCPService_ClearOAuthToken x-speakeasy-group: mcp x-speakeasy-name-override: clearOAuthToken parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.ClearOAuthTokenRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.ClearOAuthTokenResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.mcp.clearOAuthToken({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.mcp.clear_o_auth_token() # Handle response print(res) /textql.rpc.public.mcp.MCPService/DeleteMCPServer: post: tags: - MCPService summary: DeleteMCPServer operationId: MCPService_DeleteMCPServer x-speakeasy-group: mcp x-speakeasy-name-override: delete parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.DeleteMCPServerRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.DeleteMCPServerResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.mcp.delete({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.mcp.delete() # Handle response print(res) /textql.rpc.public.mcp.MCPService/GetMCPServers: post: tags: - MCPService summary: GetMCPServers operationId: MCPService_GetMCPServers x-speakeasy-group: mcp x-speakeasy-name-override: getServers parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.GetMCPServersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.GetMCPServersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.mcp.getServers({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.mcp.get_servers(body={}) # Handle response print(res) /textql.rpc.public.mcp.MCPService/HandleOAuthCallback: post: tags: - MCPService summary: HandleOAuthCallback operationId: MCPService_HandleOAuthCallback x-speakeasy-group: mcp x-speakeasy-name-override: handleOAuthCallback parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.HandleOAuthCallbackRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.HandleOAuthCallbackResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.mcp.handleOAuthCallback({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.mcp.handle_o_auth_callback() # Handle response print(res) /textql.rpc.public.mcp.MCPService/InitiateOAuthFlow: post: tags: - MCPService summary: InitiateOAuthFlow operationId: MCPService_InitiateOAuthFlow x-speakeasy-group: mcp x-speakeasy-name-override: initiateOAuthFlow parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.InitiateOAuthFlowRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.InitiateOAuthFlowResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.mcp.initiateOAuthFlow({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.mcp.initiate_o_auth_flow() # Handle response print(res) /textql.rpc.public.mcp.MCPService/ToggleMCPServer: post: tags: - MCPService summary: ToggleMCPServer operationId: MCPService_ToggleMCPServer x-speakeasy-group: mcp x-speakeasy-name-override: toggleServer parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.ToggleMCPServerRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.ToggleMCPServerResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.mcp.toggleServer({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.mcp.toggle_server() # Handle response print(res) /textql.rpc.public.mcp.MCPService/UpsertMCPServers: post: tags: - MCPService summary: UpsertMCPServers operationId: MCPService_UpsertMCPServers x-speakeasy-group: mcp x-speakeasy-name-override: upsertMCPServers parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.UpsertMCPServersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.mcp.UpsertMCPServersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.mcp.upsertMCPServers({ body: { mcpServers: [ { sseConfig: {}, createdAt: new Date("2023-01-15T01:30:15.01Z"), updatedAt: new Date("2023-01-15T01:30:15.01Z"), }, ], }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.mcp.upsert_mcp_servers(mcp_servers=[ { "sse_config": {}, "created_at": parse_datetime("2023-01-15T01:30:15.01Z"), "updated_at": parse_datetime("2023-01-15T01:30:15.01Z"), }, ]) # Handle response print(res) /textql.rpc.public.metrics_export.MetricsExportService/ConfigureMetricsExport: post: tags: - MetricsExportService summary: ConfigureMetricsExport operationId: MetricsExportService_ConfigureMetricsExport x-speakeasy-group: metricsExports x-speakeasy-name-override: configure parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.metrics_export.ConfigureMetricsExportRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.metrics_export.ConfigureMetricsExportResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.metricsExports.configure({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.metrics_exports.configure() # Handle response print(res) /textql.rpc.public.metrics_export.MetricsExportService/DeleteMetricsExportConfig: post: tags: - MetricsExportService summary: DeleteMetricsExportConfig operationId: MetricsExportService_DeleteMetricsExportConfig x-speakeasy-group: metricsExports x-speakeasy-name-override: deleteConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.metrics_export.DeleteMetricsExportConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.metrics_export.DeleteMetricsExportConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.metricsExports.deleteConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.metrics_exports.delete_config(body={}) # Handle response print(res) /textql.rpc.public.metrics_export.MetricsExportService/GetMetricsExportConfig: post: tags: - MetricsExportService summary: GetMetricsExportConfig operationId: MetricsExportService_GetMetricsExportConfig x-speakeasy-group: metricsExports x-speakeasy-name-override: getMetricsExportConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.metrics_export.GetMetricsExportConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.metrics_export.GetMetricsExportConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.metricsExports.getMetricsExportConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.metrics_exports.get_metrics_export_config(body={}) # Handle response print(res) /textql.rpc.public.metrics_export.MetricsExportService/TestMetricsExportConnection: post: tags: - MetricsExportService summary: TestMetricsExportConnection operationId: MetricsExportService_TestMetricsExportConnection x-speakeasy-group: metricsExports x-speakeasy-name-override: testConnection parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.metrics_export.TestMetricsExportConnectionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.metrics_export.TestMetricsExportConnectionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.metricsExports.testConnection({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.metrics_exports.test_connection() # Handle response print(res) /textql.rpc.public.metrics_export.MetricsExportService/TriggerMetricsPush: post: tags: - MetricsExportService summary: TriggerMetricsPush operationId: MetricsExportService_TriggerMetricsPush x-speakeasy-group: metricsExports x-speakeasy-name-override: triggerPush parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.metrics_export.TriggerMetricsPushRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.metrics_export.TriggerMetricsPushResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.metricsExports.triggerPush({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.metrics_exports.trigger_push(body={}) # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/ActivateCustomTopic: post: tags: - ObservabilityService summary: ActivateCustomTopic operationId: ObservabilityService_ActivateCustomTopic x-speakeasy-group: observability x-speakeasy-name-override: activateCustomTopic parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.TopicLifecycleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.TopicLifecycleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.activateCustomTopic({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.activate_custom_topic() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/BackfillCustomTopic: post: tags: - ObservabilityService summary: BackfillCustomTopic operationId: ObservabilityService_BackfillCustomTopic x-speakeasy-group: observability x-speakeasy-name-override: backfillCustomTopic parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.BackfillCustomTopicRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.BackfillCustomTopicResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.backfillCustomTopic({ body: { startDate: new Date("2023-01-15T01:30:15.01Z"), endDate: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.backfill_custom_topic(start_date=parse_datetime("2023-01-15T01:30:15.01Z"), end_date=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/BackfillThreadWarnings: post: tags: - ObservabilityService summary: BackfillThreadWarnings operationId: ObservabilityService_BackfillThreadWarnings x-speakeasy-group: observability x-speakeasy-name-override: backfillThreadWarnings parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.BackfillThreadWarningsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.BackfillThreadWarningsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.backfillThreadWarnings({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.backfill_thread_warnings() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/CreateCustomTopic: post: tags: - ObservabilityService summary: Custom topics description: Custom topics operationId: ObservabilityService_CreateCustomTopic x-speakeasy-group: observability x-speakeasy-name-override: createCustomTopic parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.CreateCustomTopicRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.CustomTopicResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.createCustomTopic({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.create_custom_topic() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/DeactivateCustomTopic: post: tags: - ObservabilityService summary: DeactivateCustomTopic operationId: ObservabilityService_DeactivateCustomTopic x-speakeasy-group: observability x-speakeasy-name-override: deactivateCustomTopic parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.TopicLifecycleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.TopicLifecycleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.deactivateCustomTopic({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.deactivate_custom_topic() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/DeleteCustomTopic: post: tags: - ObservabilityService summary: DeleteCustomTopic operationId: ObservabilityService_DeleteCustomTopic x-speakeasy-group: observability x-speakeasy-name-override: deleteCustomTopic parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.TopicLifecycleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.TopicLifecycleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.deleteCustomTopic({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.delete_custom_topic() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/ExportObservabilityCsv: post: tags: - ObservabilityService summary: ExportObservabilityCsv operationId: ObservabilityService_ExportObservabilityCsv x-speakeasy-group: observability x-speakeasy-name-override: exportCsv parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.ExportObservabilityCsvRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.ExportObservabilityCsvResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.exportCsv({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.export_csv() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/FixCheckRecord: post: tags: - ObservabilityService summary: FixCheckRecord operationId: ObservabilityService_FixCheckRecord x-speakeasy-group: observability x-speakeasy-name-override: fixCheckRecord parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.FixCheckRecordRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.FixCheckRecordResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.fixCheckRecord({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.fix_check_record() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/FixWarning: post: tags: - ObservabilityService summary: FixWarning operationId: ObservabilityService_FixWarning x-speakeasy-group: observability x-speakeasy-name-override: fixWarning parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.FixWarningRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.FixWarningResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.fixWarning({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.fix_warning() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetAccessMethodStats: post: tags: - ObservabilityService summary: GetAccessMethodStats operationId: ObservabilityService_GetAccessMethodStats x-speakeasy-group: observability x-speakeasy-name-override: getAccessMethodStats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetAccessMethodStatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetAccessMethodStatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getAccessMethodStats({ body: { startDate: new Date("2023-01-15T01:30:15.01Z"), endDate: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_access_method_stats(start_date=parse_datetime("2023-01-15T01:30:15.01Z"), end_date=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetActivePeopleStats: post: tags: - ObservabilityService summary: GetActivePeopleStats operationId: ObservabilityService_GetActivePeopleStats x-speakeasy-group: observability x-speakeasy-name-override: getActivePeopleStats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetActivePeopleStatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetActivePeopleStatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getActivePeopleStats({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_active_people_stats() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetActivePeopleTrend: post: tags: - ObservabilityService summary: GetActivePeopleTrend operationId: ObservabilityService_GetActivePeopleTrend x-speakeasy-group: observability x-speakeasy-name-override: getActivePeopleTrend parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetActivePeopleTrendRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetActivePeopleTrendResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getActivePeopleTrend({ body: { startDate: new Date("2023-01-15T01:30:15.01Z"), endDate: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_active_people_trend(start_date=parse_datetime("2023-01-15T01:30:15.01Z"), end_date=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetBackfillPreview: post: tags: - ObservabilityService summary: GetBackfillPreview operationId: ObservabilityService_GetBackfillPreview x-speakeasy-group: observability x-speakeasy-name-override: getBackfillPreview parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetBackfillPreviewRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetBackfillPreviewResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getBackfillPreview({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_backfill_preview() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetBackfillStatus: post: tags: - ObservabilityService summary: GetBackfillStatus operationId: ObservabilityService_GetBackfillStatus x-speakeasy-group: observability x-speakeasy-name-override: getBackfillStatus parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetBackfillStatusRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetBackfillStatusResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getBackfillStatus({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_backfill_status() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetBillingStats: post: tags: - ObservabilityService summary: GetBillingStats operationId: ObservabilityService_GetBillingStats x-speakeasy-group: observability x-speakeasy-name-override: getBillingStats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetBillingStatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetBillingStatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getBillingStats({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_billing_stats() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetChatSourceStats: post: tags: - ObservabilityService summary: GetChatSourceStats operationId: ObservabilityService_GetChatSourceStats x-speakeasy-group: observability x-speakeasy-name-override: getChatSourceStats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetChatSourceStatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetChatSourceStatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getChatSourceStats({ body: { startDate: new Date("2023-01-15T01:30:15.01Z"), endDate: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_chat_source_stats(start_date=parse_datetime("2023-01-15T01:30:15.01Z"), end_date=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetChatTopics: post: tags: - ObservabilityService summary: GetChatTopics operationId: ObservabilityService_GetChatTopics x-speakeasy-group: observability x-speakeasy-name-override: getChatTopics parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetChatTopicsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetChatTopicsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getChatTopics({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_chat_topics() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetCheckRecordFix: post: tags: - ObservabilityService summary: GetCheckRecordFix operationId: ObservabilityService_GetCheckRecordFix x-speakeasy-group: observability x-speakeasy-name-override: getCheckRecordFix parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetCheckRecordFixRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetCheckRecordFixResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getCheckRecordFix({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_check_record_fix() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetCustomTopic: post: tags: - ObservabilityService summary: GetCustomTopic operationId: ObservabilityService_GetCustomTopic x-speakeasy-group: observability x-speakeasy-name-override: getCustomTopic parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetCustomTopicRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.CustomTopicResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getCustomTopic({ body: { trendStart: new Date("2023-01-15T01:30:15.01Z"), trendEnd: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_custom_topic(trend_start=parse_datetime("2023-01-15T01:30:15.01Z"), trend_end=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetCustomTopicPeople: post: tags: - ObservabilityService summary: GetCustomTopicPeople operationId: ObservabilityService_GetCustomTopicPeople x-speakeasy-group: observability x-speakeasy-name-override: getCustomTopicPeople parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetCustomTopicPeopleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetCustomTopicPeopleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getCustomTopicPeople({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_custom_topic_people() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetCustomTopicThreads: post: tags: - ObservabilityService summary: GetCustomTopicThreads operationId: ObservabilityService_GetCustomTopicThreads x-speakeasy-group: observability x-speakeasy-name-override: getCustomTopicThreads parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetCustomTopicThreadsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetCustomTopicThreadsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getCustomTopicThreads({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_custom_topic_threads() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetEngagementSpectrum: post: tags: - ObservabilityService summary: GetEngagementSpectrum operationId: ObservabilityService_GetEngagementSpectrum x-speakeasy-group: observability x-speakeasy-name-override: getEngagementSpectrum parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetEngagementSpectrumRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetEngagementSpectrumResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getEngagementSpectrum({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_engagement_spectrum() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetMemberActivity: post: tags: - ObservabilityService summary: GetMemberActivity operationId: ObservabilityService_GetMemberActivity x-speakeasy-group: observability x-speakeasy-name-override: getMemberActivity parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetMemberActivityRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetMemberActivityResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getMemberActivity({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_member_activity() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetMemberSignalTrend: post: tags: - ObservabilityService summary: GetMemberSignalTrend operationId: ObservabilityService_GetMemberSignalTrend x-speakeasy-group: observability x-speakeasy-name-override: getMemberSignalTrend parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetMemberSignalTrendRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetMemberSignalTrendResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getMemberSignalTrend({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_member_signal_trend() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetObservabilityStats: post: tags: - ObservabilityService summary: GetObservabilityStats operationId: ObservabilityService_GetObservabilityStats x-speakeasy-group: observability x-speakeasy-name-override: getObservabilityStats parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetObservabilityStatsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetObservabilityStatsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getObservabilityStats({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_observability_stats() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/GetThreadWarnings: post: tags: - ObservabilityService summary: GetThreadWarnings operationId: ObservabilityService_GetThreadWarnings x-speakeasy-group: observability x-speakeasy-name-override: getThreadWarnings parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetThreadWarningsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.GetThreadWarningsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.getThreadWarnings({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.get_thread_warnings() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/ListCustomTopics: post: tags: - ObservabilityService summary: ListCustomTopics operationId: ObservabilityService_ListCustomTopics x-speakeasy-group: observability x-speakeasy-name-override: listCustomTopics parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.ListCustomTopicsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.ListCustomTopicsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.listCustomTopics({ body: { trendStart: new Date("2023-01-15T01:30:15.01Z"), trendEnd: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.list_custom_topics(trend_start=parse_datetime("2023-01-15T01:30:15.01Z"), trend_end=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/RefineTopicDraft: post: tags: - ObservabilityService summary: RefineTopicDraft operationId: ObservabilityService_RefineTopicDraft x-speakeasy-group: observability x-speakeasy-name-override: refineDraft parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.RefineTopicDraftRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.RefineTopicDraftResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.refineDraft({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.refine_draft() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/SetTopicTagFeedback: post: tags: - ObservabilityService summary: SetTopicTagFeedback operationId: ObservabilityService_SetTopicTagFeedback x-speakeasy-group: observability x-speakeasy-name-override: setTopicTagFeedback parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.SetTopicTagFeedbackRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.SetTopicTagFeedbackResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.setTopicTagFeedback({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.set_topic_tag_feedback() # Handle response print(res) /textql.rpc.public.observe.ObservabilityService/UpdateCustomTopic: post: tags: - ObservabilityService summary: UpdateCustomTopic operationId: ObservabilityService_UpdateCustomTopic x-speakeasy-group: observability x-speakeasy-name-override: updateCustomTopic parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.UpdateCustomTopicRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.observe.CustomTopicResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.observability.updateCustomTopic({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.observability.update_custom_topic() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/AddOntologySubmodule: post: tags: - OntologyManagementService summary: AddOntologySubmodule operationId: OntologyManagementService_AddOntologySubmodule x-speakeasy-group: ontology x-speakeasy-name-override: addSubmodule parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.AddOntologySubmoduleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.AddOntologySubmoduleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.addSubmodule({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.add_submodule() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ApprovePatch: post: tags: - OntologyManagementService summary: ApprovePatch operationId: OntologyManagementService_ApprovePatch x-speakeasy-group: ontology x-speakeasy-name-override: approvePatch parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ApprovePatchRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ApprovePatchResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.approvePatch({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.approve_patch() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ConfigureOntologyRemote: post: tags: - OntologyManagementService summary: ConfigureOntologyRemote operationId: OntologyManagementService_ConfigureOntologyRemote x-speakeasy-group: ontology x-speakeasy-name-override: configureRemote parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ConfigureOntologyRemoteRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ConfigureOntologyRemoteResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.configureRemote({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.configure_remote() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/CreateApprovalRule: post: tags: - OntologyManagementService summary: CreateApprovalRule operationId: OntologyManagementService_CreateApprovalRule x-speakeasy-group: ontology x-speakeasy-name-override: createApprovalRule parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.CreateApprovalRuleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.CreateApprovalRuleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.createApprovalRule({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.create_approval_rule() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/CreateContextPatchAutoApproveRule: post: tags: - OntologyManagementService summary: CreateContextPatchAutoApproveRule operationId: OntologyManagementService_CreateContextPatchAutoApproveRule x-speakeasy-group: ontology x-speakeasy-name-override: createContextPatchAutoApproveRule parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.CreateContextPatchAutoApproveRuleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.CreateContextPatchAutoApproveRuleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.createContextPatchAutoApproveRule({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.create_context_patch_auto_approve_rule() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/CreateOntologyDirectory: post: tags: - OntologyManagementService summary: CreateOntologyDirectory operationId: OntologyManagementService_CreateOntologyDirectory x-speakeasy-group: ontology x-speakeasy-name-override: createDirectory parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.CreateOntologyDirectoryRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.CreateOntologyDirectoryResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.createDirectory({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.create_directory() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/CreateOntologyFileUploadUrl: post: tags: - OntologyManagementService summary: Streams how many folders and files a subtree holds, so the UI can report the size of the whole Ontology rather than only the directories it has lazily listed. Counts rise monotonically across frames; the last frame sets `final`. A cache hit emits a single `final` frame with `from_cache` set. description: |- Streams how many folders and files a subtree holds, so the UI can report the size of the whole Ontology rather than only the directories it has lazily listed. Counts rise monotonically across frames; the last frame sets `final`. A cache hit emits a single `final` frame with `from_cache` set. operationId: OntologyManagementService_CreateOntologyFileUploadUrl x-speakeasy-group: ontology x-speakeasy-name-override: createFileUploadUrl parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.CreateOntologyFileUploadUrlRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.CreateOntologyFileUploadUrlResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.createFileUploadUrl({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.create_file_upload_url() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/DeleteApprovalRule: post: tags: - OntologyManagementService summary: DeleteApprovalRule operationId: OntologyManagementService_DeleteApprovalRule x-speakeasy-group: ontology x-speakeasy-name-override: deleteApprovalRule parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.DeleteApprovalRuleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.deleteApprovalRule({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.delete_approval_rule() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/DeleteContextPatchAutoApproveRule: post: tags: - OntologyManagementService summary: DeleteContextPatchAutoApproveRule operationId: OntologyManagementService_DeleteContextPatchAutoApproveRule x-speakeasy-group: ontology x-speakeasy-name-override: deleteContextPatchAutoApproveRule parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.DeleteContextPatchAutoApproveRuleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.deleteContextPatchAutoApproveRule({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.delete_context_patch_auto_approve_rule() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/DeleteOntologyDirectory: post: tags: - OntologyManagementService summary: DeleteOntologyDirectory operationId: OntologyManagementService_DeleteOntologyDirectory x-speakeasy-group: ontology x-speakeasy-name-override: deleteDirectory parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.DeleteOntologyDirectoryRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.deleteDirectory({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.delete_directory() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/DeleteOntologyFile: post: tags: - OntologyManagementService summary: DeleteOntologyFile operationId: OntologyManagementService_DeleteOntologyFile x-speakeasy-group: ontology x-speakeasy-name-override: deleteFile parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.DeleteOntologyFileRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.deleteFile({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.delete_file() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/DenyPatch: post: tags: - OntologyManagementService summary: DenyPatch operationId: OntologyManagementService_DenyPatch x-speakeasy-group: ontology x-speakeasy-name-override: denyPatch parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.DenyPatchRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.denyPatch({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.deny_patch() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ExchangeOntologyGithubCode: post: tags: - OntologyManagementService summary: ExchangeOntologyGithubCode operationId: OntologyManagementService_ExchangeOntologyGithubCode x-speakeasy-group: ontology x-speakeasy-name-override: exchangeGithubCode parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ExchangeOntologyGithubCodeRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ExchangeOntologyGithubCodeResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.exchangeGithubCode({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.exchange_github_code() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/FinalizeOntologyFileUpload: post: tags: - OntologyManagementService summary: FinalizeOntologyFileUpload operationId: OntologyManagementService_FinalizeOntologyFileUpload x-speakeasy-group: ontology x-speakeasy-name-override: finalizeFileUpload parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.FinalizeOntologyFileUploadRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.FinalizeOntologyFileUploadResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.finalizeFileUpload({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.finalize_file_upload() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetCodeownerCoverage: post: tags: - OntologyManagementService summary: GetCodeownerCoverage operationId: OntologyManagementService_GetCodeownerCoverage x-speakeasy-group: ontology x-speakeasy-name-override: getCodeownerCoverage parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetCodeownerCoverageRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetCodeownerCoverageResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getCodeownerCoverage({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_codeowner_coverage(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetConfigExportCapabilities: post: tags: - OntologyManagementService summary: GetConfigExportCapabilities operationId: OntologyManagementService_GetConfigExportCapabilities x-speakeasy-group: ontology x-speakeasy-name-override: getConfigExportCapabilities parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetConfigExportCapabilitiesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetConfigExportCapabilitiesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getConfigExportCapabilities({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_config_export_capabilities(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetEffectiveOntologyOwners: post: tags: - OntologyManagementService summary: GetEffectiveOntologyOwners operationId: OntologyManagementService_GetEffectiveOntologyOwners x-speakeasy-group: ontology x-speakeasy-name-override: getEffectiveOwners parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetEffectiveOntologyOwnersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetEffectiveOntologyOwnersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getEffectiveOwners({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_effective_owners() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetFileUsage: post: tags: - OntologyManagementService summary: GetFileUsage operationId: OntologyManagementService_GetFileUsage x-speakeasy-group: ontology x-speakeasy-name-override: getFileUsage parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetFileUsageRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetFileUsageResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getFileUsage({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_file_usage() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetFileUsageTimeline: post: tags: - OntologyManagementService summary: GetFileUsageTimeline operationId: OntologyManagementService_GetFileUsageTimeline x-speakeasy-group: ontology x-speakeasy-name-override: getFileUsageTimeline parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetFileUsageTimelineRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetFileUsageTimelineResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getFileUsageTimeline({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_file_usage_timeline() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetOntologyAnaConfig: post: tags: - OntologyManagementService summary: GetOntologyAnaConfig operationId: OntologyManagementService_GetOntologyAnaConfig x-speakeasy-group: ontology x-speakeasy-name-override: getAnaConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyAnaConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyAnaConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getAnaConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_ana_config() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetOntologyFile: post: tags: - OntologyManagementService summary: GetOntologyFile operationId: OntologyManagementService_GetOntologyFile x-speakeasy-group: ontology x-speakeasy-name-override: getFile parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyFileRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyFileResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getFile({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_file() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetOntologyGithubOAuthURL: post: tags: - OntologyManagementService summary: GetOntologyGithubOAuthURL operationId: OntologyManagementService_GetOntologyGithubOAuthURL x-speakeasy-group: ontology x-speakeasy-name-override: getGithubOAuthURL parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyGithubOAuthURLRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyGithubOAuthURLResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getGithubOAuthURL({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_github_o_auth_url() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetOntologyHistoryFileDiff: post: tags: - OntologyManagementService summary: GetOntologyHistoryFileDiff operationId: OntologyManagementService_GetOntologyHistoryFileDiff x-speakeasy-group: ontology x-speakeasy-name-override: getHistoryFileDiff parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyHistoryFileDiffRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyHistoryFileDiffResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getHistoryFileDiff({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_history_file_diff() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetOntologyOwners: post: tags: - OntologyManagementService summary: GetOntologyOwners operationId: OntologyManagementService_GetOntologyOwners x-speakeasy-group: ontology x-speakeasy-name-override: getOwners parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyOwnersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyOwnersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getOwners({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_owners() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetOntologyRemote: post: tags: - OntologyManagementService summary: GetOntologyRemote operationId: OntologyManagementService_GetOntologyRemote x-speakeasy-group: ontology x-speakeasy-name-override: getRemote parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyRemoteRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyRemoteResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getRemote({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_remote(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetOntologySizeTimeline: post: tags: - OntologyManagementService summary: GetOntologySizeTimeline operationId: OntologyManagementService_GetOntologySizeTimeline x-speakeasy-group: ontology x-speakeasy-name-override: getSizeTimeline parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologySizeTimelineRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologySizeTimelineResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getSizeTimeline({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_size_timeline() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetOntologySyncConflicts: post: tags: - OntologyManagementService summary: GetOntologySyncConflicts operationId: OntologyManagementService_GetOntologySyncConflicts x-speakeasy-group: ontology x-speakeasy-name-override: getSyncConflicts parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologySyncConflictsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologySyncConflictsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getSyncConflicts({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_sync_conflicts(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetOntologyUsageSummary: post: tags: - OntologyManagementService summary: GetOntologyUsageSummary operationId: OntologyManagementService_GetOntologyUsageSummary x-speakeasy-group: ontology x-speakeasy-name-override: getUsageSummary parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyUsageSummaryRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyUsageSummaryResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getUsageSummary({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_usage_summary() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetPatch: post: tags: - OntologyManagementService summary: GetPatch operationId: OntologyManagementService_GetPatch x-speakeasy-group: ontology x-speakeasy-name-override: getPatch parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetPatchRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.Patch' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getPatch({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_patch() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetPatchByNumber: post: tags: - OntologyManagementService summary: GetPatchByNumber operationId: OntologyManagementService_GetPatchByNumber x-speakeasy-group: ontology x-speakeasy-name-override: getPatchByNumber parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetPatchByNumberRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.Patch' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getPatchByNumber({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_patch_by_number() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetPatchCapabilities: post: tags: - OntologyManagementService summary: 'PlanConfigMigration reports what the lazy config migration WOULD do to this org''s objects, and writes nothing. Admin-only, internal: it exists so a release manager can warn the specific orgs a rollout will affect — notably the objects that will stop running because adoption binds a Runner who can no longer run them.' description: |- PlanConfigMigration reports what the lazy config migration WOULD do to this org's objects, and writes nothing. Admin-only, internal: it exists so a release manager can warn the specific orgs a rollout will affect — notably the objects that will stop running because adoption binds a Runner who can no longer run them. operationId: OntologyManagementService_GetPatchCapabilities x-speakeasy-group: ontology x-speakeasy-name-override: getPatchCapabilities parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetPatchCapabilitiesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetPatchCapabilitiesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getPatchCapabilities({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_patch_capabilities() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetRawPatch: post: tags: - OntologyManagementService summary: GetRawPatch operationId: OntologyManagementService_GetRawPatch x-speakeasy-group: ontology x-speakeasy-name-override: getRawPatch parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetRawPatchRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetRawPatchResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getRawPatch({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_raw_patch() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/GetUsageDetailsForFile: post: tags: - OntologyManagementService summary: GetUsageDetailsForFile operationId: OntologyManagementService_GetUsageDetailsForFile x-speakeasy-group: ontology x-speakeasy-name-override: getUsageDetailsForFile parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetUsageDetailsForFileRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetUsageDetailsForFileResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.getUsageDetailsForFile({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.get_usage_details_for_file() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListApprovalRules: post: tags: - OntologyManagementService summary: ListApprovalRules operationId: OntologyManagementService_ListApprovalRules x-speakeasy-group: ontology x-speakeasy-name-override: listApprovalRules parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListApprovalRulesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListApprovalRulesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listApprovalRules({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_approval_rules(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListChatsForFile: post: tags: - OntologyManagementService summary: ListChatsForFile operationId: OntologyManagementService_ListChatsForFile x-speakeasy-group: ontology x-speakeasy-name-override: listChatsForFile parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListChatsForFileRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListChatsForFileResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listChatsForFile({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_chats_for_file() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListContextPatchAutoApproveRules: post: tags: - OntologyManagementService summary: ListContextPatchAutoApproveRules operationId: OntologyManagementService_ListContextPatchAutoApproveRules x-speakeasy-group: ontology x-speakeasy-name-override: listContextPatchAutoApproveRules parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListContextPatchAutoApproveRulesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListContextPatchAutoApproveRulesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listContextPatchAutoApproveRules({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_context_patch_auto_approve_rules(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListGoldenFiles: post: tags: - OntologyManagementService summary: 'Deprecated: use SetOntologyOwners with the desired entry set. An empty desired set removes every entry and opens the directory.' description: |- Deprecated: use SetOntologyOwners with the desired entry set. An empty desired set removes every entry and opens the directory. operationId: OntologyManagementService_ListGoldenFiles x-speakeasy-group: ontology x-speakeasy-name-override: listGoldenFiles parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListGoldenFilesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListGoldenFilesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listGoldenFiles({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_golden_files(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListOntologyEntries: post: tags: - OntologyManagementService summary: ListOntologyEntries operationId: OntologyManagementService_ListOntologyEntries x-speakeasy-group: ontology x-speakeasy-name-override: listEntries parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyEntriesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyEntriesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listEntries({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_entries() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListOntologyHistory: post: tags: - OntologyManagementService summary: ListOntologyHistory operationId: OntologyManagementService_ListOntologyHistory x-speakeasy-group: ontology x-speakeasy-name-override: listHistory parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyHistoryRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyHistoryResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listHistory({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_history() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListOntologyImports: post: tags: - OntologyManagementService summary: ListOntologyImports operationId: OntologyManagementService_ListOntologyImports x-speakeasy-group: ontology x-speakeasy-name-override: listImports parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyImportsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyImportsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listImports({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_imports(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListOntologySubmodules: post: tags: - OntologyManagementService summary: ListOntologySubmodules operationId: OntologyManagementService_ListOntologySubmodules x-speakeasy-group: ontology x-speakeasy-name-override: listSubmodules parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologySubmodulesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologySubmodulesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listSubmodules({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_submodules(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListOntologySyncRuns: post: tags: - OntologyManagementService summary: ListOntologySyncRuns operationId: OntologyManagementService_ListOntologySyncRuns x-speakeasy-group: ontology x-speakeasy-name-override: listSyncRuns parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologySyncRunsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologySyncRunsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listSyncRuns({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_sync_runs() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListPatchObjects: post: tags: - OntologyManagementService summary: 'ListPatchObjects parses the config objects present at a patch''s git ref and returns each object''s Library path, resolved display name, and granular type (e.g. "playbook", "dashboard/streamlit", "dashboard/dash"). Parse-only: it reuses the snapshot-at-ref + parse steps the preview path performs before spawning — no sandbox spawn, no run_as authorization, no persistence. The frontend uses the dashboard subtype to decide previewability (streamlit/dash).' description: |- ListPatchObjects parses the config objects present at a patch's git ref and returns each object's Library path, resolved display name, and granular type (e.g. "playbook", "dashboard/streamlit", "dashboard/dash"). Parse-only: it reuses the snapshot-at-ref + parse steps the preview path performs before spawning — no sandbox spawn, no run_as authorization, no persistence. The frontend uses the dashboard subtype to decide previewability (streamlit/dash). operationId: OntologyManagementService_ListPatchObjects x-speakeasy-group: ontology x-speakeasy-name-override: listPatchObjects parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListPatchObjectsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListPatchObjectsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listPatchObjects({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_patch_objects() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListPatchReviewers: post: tags: - OntologyManagementService summary: ListPatchReviewers operationId: OntologyManagementService_ListPatchReviewers x-speakeasy-group: ontology x-speakeasy-name-override: listPatchReviewers parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListPatchReviewersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListPatchReviewersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listPatchReviewers({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_patch_reviewers() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListPatches: post: tags: - OntologyManagementService summary: ListPatches operationId: OntologyManagementService_ListPatches x-speakeasy-group: ontology x-speakeasy-name-override: listPatches parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListPatchesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListPatchesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listPatches({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_patches() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ListSkills: post: tags: - OntologyManagementService summary: ListSkills operationId: OntologyManagementService_ListSkills x-speakeasy-group: ontology x-speakeasy-name-override: listSkills parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListSkillsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListSkillsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.listSkills({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.list_skills() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/PlanOntologyMerge: post: tags: - OntologyManagementService summary: PlanOntologyMerge operationId: OntologyManagementService_PlanOntologyMerge x-speakeasy-group: ontology x-speakeasy-name-override: planMerge parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.PlanOntologyMergeRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.PlanOntologyMergeResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.planMerge({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.plan_merge(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/PreviewOntologyPullFromRemote: post: tags: - OntologyManagementService summary: PreviewOntologyPullFromRemote operationId: OntologyManagementService_PreviewOntologyPullFromRemote x-speakeasy-group: ontology x-speakeasy-name-override: previewPullFromRemote parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.PreviewOntologyPullFromRemoteRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.PreviewOntologyPullFromRemoteResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.previewPullFromRemote({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.preview_pull_from_remote(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/PullOntologyFromRemote: post: tags: - OntologyManagementService summary: PullOntologyFromRemote operationId: OntologyManagementService_PullOntologyFromRemote x-speakeasy-group: ontology x-speakeasy-name-override: pullFromRemote parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.PullOntologyFromRemoteRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.pullFromRemote({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.pull_from_remote() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/PushOntologyToRemote: post: tags: - OntologyManagementService summary: PushOntologyToRemote operationId: OntologyManagementService_PushOntologyToRemote x-speakeasy-group: ontology x-speakeasy-name-override: pushToRemote parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.PushOntologyToRemoteRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.pushToRemote({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.push_to_remote(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/RecoverOntology: post: tags: - OntologyManagementService summary: RecoverOntology operationId: OntologyManagementService_RecoverOntology x-speakeasy-group: ontology x-speakeasy-name-override: recover parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RecoverOntologyRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.recover({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.recover() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/RemoveOntologyRemote: post: tags: - OntologyManagementService summary: Lists the skills under the ontology's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. Unlisted skills are omitted unless include_unlisted is set. description: |- Lists the skills under the ontology's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. Unlisted skills are omitted unless include_unlisted is set. operationId: OntologyManagementService_RemoveOntologyRemote x-speakeasy-group: ontology x-speakeasy-name-override: removeRemote parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RemoveOntologyRemoteRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.removeRemote({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.remove_remote(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/RemoveOntologySubmodule: post: tags: - OntologyManagementService summary: RemoveOntologySubmodule operationId: OntologyManagementService_RemoveOntologySubmodule x-speakeasy-group: ontology x-speakeasy-name-override: removeSubmodule parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RemoveOntologySubmoduleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.removeSubmodule({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.remove_submodule() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/RenameOntologyFile: post: tags: - OntologyManagementService summary: RenameOntologyFile operationId: OntologyManagementService_RenameOntologyFile x-speakeasy-group: ontology x-speakeasy-name-override: renameFile parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RenameOntologyFileRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RenameOntologyFileResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.renameFile({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.rename_file() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/RequestPatchReview: post: tags: - OntologyManagementService summary: RequestPatchReview operationId: OntologyManagementService_RequestPatchReview x-speakeasy-group: ontology x-speakeasy-name-override: requestPatchReview parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RequestPatchReviewRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RequestPatchReviewResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.requestPatchReview({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.request_patch_review() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ResolveOntologySyncConflict: post: tags: - OntologyManagementService summary: 'TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller''s org: if the Ontology repo''s live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan.' description: |- TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Ontology repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. operationId: OntologyManagementService_ResolveOntologySyncConflict x-speakeasy-group: ontology x-speakeasy-name-override: resolveSyncConflict parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ResolveOntologySyncConflictRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.resolveSyncConflict({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.resolve_sync_conflict() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/RestorePatch: post: tags: - OntologyManagementService summary: RestorePatch operationId: OntologyManagementService_RestorePatch x-speakeasy-group: ontology x-speakeasy-name-override: restorePatch parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RestorePatchRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.restorePatch({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.restore_patch() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/RevertPatch: post: tags: - OntologyManagementService summary: RevertPatch operationId: OntologyManagementService_RevertPatch x-speakeasy-group: ontology x-speakeasy-name-override: revertPatch parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RevertPatchRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RevertPatchResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.revertPatch({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.revert_patch() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/SaveAllObjectsAsConfig: post: tags: - OntologyManagementService summary: SaveAllObjectsAsConfig operationId: OntologyManagementService_SaveAllObjectsAsConfig x-speakeasy-group: ontology x-speakeasy-name-override: saveAllObjectsAsConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.SaveAllObjectsAsConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.SaveAllObjectsAsConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.saveAllObjectsAsConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.save_all_objects_as_config() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/SaveObjectAsConfig: post: tags: - OntologyManagementService summary: SaveObjectAsConfig operationId: OntologyManagementService_SaveObjectAsConfig x-speakeasy-group: ontology x-speakeasy-name-override: saveObjectAsConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.SaveObjectAsConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.SaveObjectAsConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.saveObjectAsConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.save_object_as_config() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/SetOntologyFileGolden: post: tags: - OntologyManagementService summary: 'Deprecated: use SetOntologyOwners with the complete desired entry set.' description: 'Deprecated: use SetOntologyOwners with the complete desired entry set.' operationId: OntologyManagementService_SetOntologyFileGolden x-speakeasy-group: ontology x-speakeasy-name-override: setFileGolden parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.SetOntologyFileGoldenRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.SetOntologyFileGoldenResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.setFileGolden({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.set_file_golden() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/SetOntologyOwners: post: tags: - OntologyManagementService summary: SetOntologyOwners operationId: OntologyManagementService_SetOntologyOwners x-speakeasy-group: ontology x-speakeasy-name-override: setOwners parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.SetOntologyOwnersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.SetOntologyOwnersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.setOwners({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.set_owners() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/TriggerConfigDriftReconcile: post: tags: - OntologyManagementService summary: TriggerConfigDriftReconcile operationId: OntologyManagementService_TriggerConfigDriftReconcile x-speakeasy-group: ontology x-speakeasy-name-override: triggerConfigDriftReconcile parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.TriggerConfigDriftReconcileRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.TriggerConfigDriftReconcileResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.triggerConfigDriftReconcile({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.trigger_config_drift_reconcile(body={}) # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/UpdateApprovalRule: post: tags: - OntologyManagementService summary: UpdateApprovalRule operationId: OntologyManagementService_UpdateApprovalRule x-speakeasy-group: ontology x-speakeasy-name-override: updateApprovalRule parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpdateApprovalRuleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpdateApprovalRuleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.updateApprovalRule({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.update_approval_rule() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/UpdateContextPatchAutoApproveRule: post: tags: - OntologyManagementService summary: UpdateContextPatchAutoApproveRule operationId: OntologyManagementService_UpdateContextPatchAutoApproveRule x-speakeasy-group: ontology x-speakeasy-name-override: updateContextPatchAutoApproveRule parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpdateContextPatchAutoApproveRuleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpdateContextPatchAutoApproveRuleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.updateContextPatchAutoApproveRule({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.update_context_patch_auto_approve_rule() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/UpdateOntologySyncConfig: post: tags: - OntologyManagementService summary: UpdateOntologySyncConfig operationId: OntologyManagementService_UpdateOntologySyncConfig x-speakeasy-group: ontology x-speakeasy-name-override: updateSyncConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpdateOntologySyncConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpdateOntologySyncConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.updateSyncConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.update_sync_config() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/UpsertOntologyAnaConfig: post: tags: - OntologyManagementService summary: UpsertOntologyAnaConfig operationId: OntologyManagementService_UpsertOntologyAnaConfig x-speakeasy-group: ontology x-speakeasy-name-override: upsertAnaConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpsertOntologyAnaConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpsertOntologyAnaConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.upsertAnaConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.upsert_ana_config() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/UpsertOntologyFile: post: tags: - OntologyManagementService summary: UpsertOntologyFile operationId: OntologyManagementService_UpsertOntologyFile x-speakeasy-group: ontology x-speakeasy-name-override: upsertFile parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpsertOntologyFileRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpsertOntologyFileResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.upsertFile({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.upsert_file() # Handle response print(res) /textql.rpc.public.patches.OntologyManagementService/ValidateConfig: post: tags: - OntologyManagementService summary: 'Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. "ok" means functionally valid, not "guaranteed to merge" — the merge gate re-checks authorization at approve time.' description: |- Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. "ok" means functionally valid, not "guaranteed to merge" — the merge gate re-checks authorization at approve time. operationId: OntologyManagementService_ValidateConfig x-speakeasy-group: ontology x-speakeasy-name-override: validateConfig parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ValidateConfigRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ValidateConfigResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.ontology.validateConfig({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.ontology.validate_config() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/AttachDashboard: post: tags: - PlaybookService summary: AttachDashboard operationId: PlaybookService_AttachDashboard x-speakeasy-group: playbooks x-speakeasy-name-override: attachDashboard parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookAttachDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookAttachDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.attachDashboard({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.attach_dashboard() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/AttachDataset: post: tags: - PlaybookService summary: AttachDataset operationId: PlaybookService_AttachDataset x-speakeasy-group: playbooks x-speakeasy-name-override: attachDataset parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookAttachDatasetRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookAttachDatasetResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.attachDataset({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.attach_dataset() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/CancelTemplateExecution: post: tags: - PlaybookService summary: Cancel template execution for a specific template header description: Cancel template execution for a specific template header operationId: PlaybookService_CancelTemplateExecution x-speakeasy-group: playbooks x-speakeasy-name-override: cancelTemplateExecution parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.CancelTemplateExecutionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.CancelTemplateExecutionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.cancelTemplateExecution({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.cancel_template_execution() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/CreatePlaybook: post: tags: - PlaybookService summary: CreatePlaybook operationId: PlaybookService_CreatePlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: createPlaybook parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.CreatePlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.CreatePlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.createPlaybook({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.create_playbook(body={}) # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/DeactivatePlaybook: post: tags: - PlaybookService summary: DeactivatePlaybook operationId: PlaybookService_DeactivatePlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: deactivate parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.DeactivatePlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.deactivate({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.deactivate() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/DeletePlaybook: post: tags: - PlaybookService summary: DeletePlaybook operationId: PlaybookService_DeletePlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: delete parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.DeletePlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.DeletePlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.delete({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.delete() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/DemoPlaybook: post: tags: - PlaybookService summary: DemoPlaybook operationId: PlaybookService_DemoPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: demoPlaybook parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.DemoPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.DemoPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.demoPlaybook({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.demo_playbook() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/DeployPlaybook: post: tags: - PlaybookService summary: DeployPlaybook operationId: PlaybookService_DeployPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: deploy parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.DeployPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.DeployPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.deploy({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.deploy() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/DuplicatePlaybook: post: tags: - PlaybookService summary: DuplicatePlaybook operationId: PlaybookService_DuplicatePlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: duplicate parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.DuplicatePlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.DuplicatePlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.duplicate({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.duplicate() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/FavoriteReport: post: tags: - PlaybookService summary: Favorite report management description: Favorite report management operationId: PlaybookService_FavoriteReport x-speakeasy-group: playbooks x-speakeasy-name-override: favoriteReport parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.FavoriteReportRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.FavoriteReportResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.favoriteReport({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.favorite_report() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetActiveSubscribedPlaybooksCount: post: tags: - PlaybookService summary: GetActiveSubscribedPlaybooksCount operationId: PlaybookService_GetActiveSubscribedPlaybooksCount x-speakeasy-group: playbooks x-speakeasy-name-override: getActiveSubscribedCount parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetActiveSubscribedPlaybooksCountRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetActiveSubscribedPlaybooksCountResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.getActiveSubscribedCount({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get_active_subscribed_count(body={}) # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetChatReportsSummary: post: tags: - PlaybookService summary: Lightweight endpoint for chat report drawer - returns summaries without full blocks description: Lightweight endpoint for chat report drawer - returns summaries without full blocks operationId: PlaybookService_GetChatReportsSummary x-speakeasy-group: playbooks x-speakeasy-name-override: getChatReportsSummary parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetChatReportsSummaryRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetChatReportsSummaryResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.getChatReportsSummary({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get_chat_reports_summary() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetMembersWithPlaybooks: post: tags: - PlaybookService summary: GetMembersWithPlaybooks operationId: PlaybookService_GetMembersWithPlaybooks x-speakeasy-group: playbooks x-speakeasy-name-override: getMembersWith parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetMembersWithPlaybooksRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetMembersWithPlaybooksResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.getMembersWith({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get_members_with(body={}) # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetPlaybook: post: tags: - PlaybookService summary: GetPlaybook operationId: PlaybookService_GetPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: fetch parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.fetch({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.fetch() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetPlaybookBatchRun: post: tags: - PlaybookService summary: Get a specific batch run description: Get a specific batch run operationId: PlaybookService_GetPlaybookBatchRun x-speakeasy-group: playbooks x-speakeasy-name-override: getBatchRun parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybookBatchRunRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybookBatchRunResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.getBatchRun({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get_batch_run() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetPlaybookLineage: post: tags: - PlaybookService summary: GetPlaybookLineage operationId: PlaybookService_GetPlaybookLineage x-speakeasy-group: playbooks x-speakeasy-name-override: getPlaybookLineage parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybookLineageRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybookLineageResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.getPlaybookLineage({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get_playbook_lineage() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetPlaybookReports: post: tags: - PlaybookService summary: GetPlaybookReports operationId: PlaybookService_GetPlaybookReports x-speakeasy-group: playbooks x-speakeasy-name-override: getReports parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybookReportsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybookReportsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.getReports({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get_reports() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetPlaybookReportsBatch: post: tags: - PlaybookService summary: Get reports for multiple template data IDs in a single batch request description: Get reports for multiple template data IDs in a single batch request operationId: PlaybookService_GetPlaybookReportsBatch x-speakeasy-group: playbooks x-speakeasy-name-override: getPlaybookReportsBatch parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybookReportsBatchRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybookReportsBatchResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.getPlaybookReportsBatch({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get_playbook_reports_batch() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetPlaybooks: post: tags: - PlaybookService summary: GetPlaybooks operationId: PlaybookService_GetPlaybooks x-speakeasy-group: playbooks x-speakeasy-name-override: get parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybooksRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybooksResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.get({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetPlaybooksPreviews: post: tags: - PlaybookService summary: GetPlaybooksPreviews operationId: PlaybookService_GetPlaybooksPreviews x-speakeasy-group: playbooks x-speakeasy-name-override: getPlaybooksPreviews parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybooksPreviewsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetPlaybooksPreviewsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.getPlaybooksPreviews({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get_playbooks_previews() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetReportById: post: tags: - PlaybookService summary: Get a single report by ID description: Get a single report by ID operationId: PlaybookService_GetReportById x-speakeasy-group: playbooks x-speakeasy-name-override: getReportById parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetReportByIdRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetReportByIdResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.getReportById({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get_report_by_id() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/GetReportsWithFilters: post: tags: - PlaybookService summary: GetReportsWithFilters operationId: PlaybookService_GetReportsWithFilters x-speakeasy-group: playbooks x-speakeasy-name-override: getReportsWithFilters parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetReportsWithFiltersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.GetReportsWithFiltersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.getReportsWithFilters({ body: { filters: { startTime: new Date("2023-01-15T01:30:15.01Z"), endTime: new Date("2023-01-15T01:30:15.01Z"), }, }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.get_reports_with_filters(filters={ "start_time": parse_datetime("2023-01-15T01:30:15.01Z"), "end_time": parse_datetime("2023-01-15T01:30:15.01Z"), }) # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/ListAllSlackChannelContextPlaybooks: post: tags: - PlaybookService summary: List all Slack channels context playbook mappings for the organization description: List all Slack channels context playbook mappings for the organization operationId: PlaybookService_ListAllSlackChannelContextPlaybooks x-speakeasy-group: playbooks x-speakeasy-name-override: listSlackChannelContextPlaybooks parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.ListAllSlackChannelContextPlaybooksRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.ListAllSlackChannelContextPlaybooksResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.listSlackChannelContextPlaybooks({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.list_slack_channel_context_playbooks(body={}) # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/ListAllTeamsChannelContextPlaybooks: post: tags: - PlaybookService summary: ListAllTeamsChannelContextPlaybooks operationId: PlaybookService_ListAllTeamsChannelContextPlaybooks x-speakeasy-group: playbooks x-speakeasy-name-override: listAllTeamsChannelContextPlaybooks parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.ListAllTeamsChannelContextPlaybooksRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.ListAllTeamsChannelContextPlaybooksResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.listAllTeamsChannelContextPlaybooks({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.list_all_teams_channel_context_playbooks(body={}) # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/ListPlaybookBatchRuns: post: tags: - PlaybookService summary: List batch runs for a playbook description: List batch runs for a playbook operationId: PlaybookService_ListPlaybookBatchRuns x-speakeasy-group: playbooks x-speakeasy-name-override: listBatchRuns parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.ListPlaybookBatchRunsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.ListPlaybookBatchRunsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.listBatchRuns({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.list_batch_runs() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/ListSlackChannelsForContextPlaybook: post: tags: - PlaybookService summary: List Slack channel IDs where the given playbook is set as the context description: List Slack channel IDs where the given playbook is set as the context operationId: PlaybookService_ListSlackChannelsForContextPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: listSlackChannelsForContext parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.ListSlackChannelsForContextPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.ListSlackChannelsForContextPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.listSlackChannelsForContext({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.list_slack_channels_for_context() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/ListTeamsChannelsForContextPlaybook: post: tags: - PlaybookService summary: ListTeamsChannelsForContextPlaybook operationId: PlaybookService_ListTeamsChannelsForContextPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: listTeamsChannelsForContextPlaybook parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.ListTeamsChannelsForContextPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.ListTeamsChannelsForContextPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.listTeamsChannelsForContextPlaybook({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.list_teams_channels_for_context_playbook() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/MarkReportAsRead: post: tags: - PlaybookService summary: Report read tracking description: Report read tracking operationId: PlaybookService_MarkReportAsRead x-speakeasy-group: playbooks x-speakeasy-name-override: markReportAsRead parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.MarkReportAsReadRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.MarkReportAsReadResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.markReportAsRead({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.mark_report_as_read() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/PreviewSlackReport: post: tags: - PlaybookService summary: PreviewSlackReport operationId: PlaybookService_PreviewSlackReport x-speakeasy-group: playbooks x-speakeasy-name-override: previewSlackReport parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.PreviewSlackReportRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.PreviewSlackReportResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.previewSlackReport({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.preview_slack_report() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/RemoveDashboard: post: tags: - PlaybookService summary: RemoveDashboard operationId: PlaybookService_RemoveDashboard x-speakeasy-group: playbooks x-speakeasy-name-override: removeDashboard parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookRemoveDashboardRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookRemoveDashboardResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.removeDashboard({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.remove_dashboard() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/RemoveDataset: post: tags: - PlaybookService summary: RemoveDataset operationId: PlaybookService_RemoveDataset x-speakeasy-group: playbooks x-speakeasy-name-override: removeDataset parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookRemoveDatasetRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookRemoveDatasetResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.removeDataset({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.remove_dataset() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/RunPlaybook: post: tags: - PlaybookService summary: RunPlaybook operationId: PlaybookService_RunPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: run parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.RunPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.RunPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.run({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.run() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/SetSlackChannelContextPlaybook: post: tags: - PlaybookService summary: Set the context playbook for a Slack channel. This associates the given playbook to a Slack channel so that Slack messages in that channel use the playbook's context by default. description: |- Set the context playbook for a Slack channel. This associates the given playbook to a Slack channel so that Slack messages in that channel use the playbook's context by default. operationId: PlaybookService_SetSlackChannelContextPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: setSlackChannelContextPlaybook parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.SetSlackChannelContextPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.SetSlackChannelContextPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.setSlackChannelContextPlaybook({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.set_slack_channel_context_playbook() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/SetTeamsChannelContextPlaybook: post: tags: - PlaybookService summary: SetTeamsChannelContextPlaybook operationId: PlaybookService_SetTeamsChannelContextPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: setTeamsChannelContext parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.SetTeamsChannelContextPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.SetTeamsChannelContextPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.setTeamsChannelContext({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.set_teams_channel_context() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/SubscribeToPlaybook: post: tags: - PlaybookService summary: SubscribeToPlaybook operationId: PlaybookService_SubscribeToPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: subscribe parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.SubscribeToPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.SubscribeToPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.subscribe({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.subscribe() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/UnsetSlackChannelContextPlaybook: post: tags: - PlaybookService summary: Unset the context playbook for a Slack channel. This clears any association so that messages in this channel no longer use a specific playbook context. description: |- Unset the context playbook for a Slack channel. This clears any association so that messages in this channel no longer use a specific playbook context. operationId: PlaybookService_UnsetSlackChannelContextPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: unsetSlackChannelContextPlaybook parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.UnsetSlackChannelContextPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.UnsetSlackChannelContextPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.unsetSlackChannelContextPlaybook({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.unset_slack_channel_context_playbook() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/UnsetTeamsChannelContextPlaybook: post: tags: - PlaybookService summary: UnsetTeamsChannelContextPlaybook operationId: PlaybookService_UnsetTeamsChannelContextPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: unsetTeamsChannelContext parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.UnsetTeamsChannelContextPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.UnsetTeamsChannelContextPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.unsetTeamsChannelContext({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.unset_teams_channel_context() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/UnsubscribeFromPlaybook: post: tags: - PlaybookService summary: UnsubscribeFromPlaybook operationId: PlaybookService_UnsubscribeFromPlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: unsubscribe parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.UnsubscribeFromPlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.UnsubscribeFromPlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.unsubscribe({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.unsubscribe() # Handle response print(res) /textql.rpc.public.playbook.PlaybookService/UpdatePlaybook: post: tags: - PlaybookService summary: UpdatePlaybook operationId: PlaybookService_UpdatePlaybook x-speakeasy-group: playbooks x-speakeasy-name-override: update parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.UpdatePlaybookRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.playbook.UpdatePlaybookResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.playbooks.update({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.playbooks.update() # Handle response print(res) /textql.rpc.public.powerbi.PowerBIService/ExportPowerBIReportImage: post: tags: - PowerBIService summary: ExportPowerBIReportImage operationId: PowerBIService_ExportPowerBIReportImage x-speakeasy-group: powerbi x-speakeasy-name-override: exportReportImage parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.ExportPowerBIReportImageRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.ExportPowerBIReportImageResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.powerbi.exportReportImage({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.powerbi.export_report_image() # Handle response print(res) /textql.rpc.public.powerbi.PowerBIService/GeneratePowerBIEmbedToken: post: tags: - PowerBIService summary: GeneratePowerBIEmbedToken operationId: PowerBIService_GeneratePowerBIEmbedToken x-speakeasy-group: powerbi x-speakeasy-name-override: generateEmbedToken parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.GeneratePowerBIEmbedTokenRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.GeneratePowerBIEmbedTokenResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.powerbi.generateEmbedToken({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.powerbi.generate_embed_token() # Handle response print(res) /textql.rpc.public.powerbi.PowerBIService/GetPowerBIDatasetPreview: post: tags: - PowerBIService summary: GetPowerBIDatasetPreview operationId: PowerBIService_GetPowerBIDatasetPreview x-speakeasy-group: powerbi x-speakeasy-name-override: getDatasetPreview parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.GetPowerBIDatasetPreviewRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.GetPowerBIDatasetPreviewResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.powerbi.getDatasetPreview({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.powerbi.get_dataset_preview() # Handle response print(res) /textql.rpc.public.powerbi.PowerBIService/GetSyncedPowerBIItems: post: tags: - PowerBIService summary: GetSyncedPowerBIItems operationId: PowerBIService_GetSyncedPowerBIItems x-speakeasy-group: powerbi x-speakeasy-name-override: getSyncedItems parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.GetSyncedPowerBIItemsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.GetSyncedPowerBIItemsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.powerbi.getSyncedItems({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.powerbi.get_synced_items() # Handle response print(res) /textql.rpc.public.powerbi.PowerBIService/ListPowerBIDatasets: post: tags: - PowerBIService summary: ListPowerBIDatasets operationId: PowerBIService_ListPowerBIDatasets x-speakeasy-group: powerbi x-speakeasy-name-override: list parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.ListPowerBIDatasetsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.ListPowerBIDatasetsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.powerbi.list({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.powerbi.list() # Handle response print(res) /textql.rpc.public.powerbi.PowerBIService/ListPowerBIReports: post: tags: - PowerBIService summary: ListPowerBIReports operationId: PowerBIService_ListPowerBIReports x-speakeasy-group: powerbi x-speakeasy-name-override: listReports parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.ListPowerBIReportsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.ListPowerBIReportsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.powerbi.listReports({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.powerbi.list_reports() # Handle response print(res) /textql.rpc.public.powerbi.PowerBIService/ListPowerBIWorkspaces: post: tags: - PowerBIService summary: ListPowerBIWorkspaces operationId: PowerBIService_ListPowerBIWorkspaces x-speakeasy-group: powerbi x-speakeasy-name-override: listWorkspaces parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.ListPowerBIWorkspacesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.ListPowerBIWorkspacesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.powerbi.listWorkspaces({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.powerbi.list_workspaces() # Handle response print(res) /textql.rpc.public.powerbi.PowerBIService/SyncPowerBIItems: post: tags: - PowerBIService summary: SyncPowerBIItems operationId: PowerBIService_SyncPowerBIItems x-speakeasy-group: powerbi x-speakeasy-name-override: syncPowerBIItems parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.SyncPowerBIItemsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.SyncPowerBIItemsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.powerbi.syncPowerBIItems({ body: { reports: [ { createdDate: new Date("2023-01-15T01:30:15.01Z"), }, ], datasets: [ { createdDate: new Date("2023-01-15T01:30:15.01Z"), }, ], }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.powerbi.sync_power_bi_items(reports=[ { "created_date": parse_datetime("2023-01-15T01:30:15.01Z"), }, ], datasets=[ { "created_date": parse_datetime("2023-01-15T01:30:15.01Z"), }, ]) # Handle response print(res) /textql.rpc.public.powerbi.PowerBIService/TestPowerBIConnection: post: tags: - PowerBIService summary: TestPowerBIConnection operationId: PowerBIService_TestPowerBIConnection x-speakeasy-group: powerbi x-speakeasy-name-override: testConnection parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.TestPowerBIConnectionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.TestPowerBIConnectionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.powerbi.testConnection({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.powerbi.test_connection() # Handle response print(res) /textql.rpc.public.powerbi.PowerBIService/UnsyncPowerBIItems: post: tags: - PowerBIService summary: UnsyncPowerBIItems operationId: PowerBIService_UnsyncPowerBIItems x-speakeasy-group: powerbi x-speakeasy-name-override: unsyncItems parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.UnsyncPowerBIItemsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.powerbi.UnsyncPowerBIItemsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.powerbi.unsyncItems({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.powerbi.unsync_items() # Handle response print(res) /textql.rpc.public.rbac.RBACService/ApproveAccessRequest: post: tags: - RBACService summary: ApproveAccessRequest operationId: RBACService_ApproveAccessRequest x-speakeasy-group: rbac x-speakeasy-name-override: approveAccessRequest parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ApproveAccessRequestRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ApproveAccessRequestResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.approveAccessRequest({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.approve_access_request() # Handle response print(res) /textql.rpc.public.rbac.RBACService/AssignPermissionToRole: post: tags: - RBACService summary: AssignPermissionToRole operationId: RBACService_AssignPermissionToRole x-speakeasy-group: rbac x-speakeasy-name-override: assignPermissionToRole parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.AssignPermissionToRoleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.AssignPermissionToRoleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.assignPermissionToRole({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.assign_permission_to_role() # Handle response print(res) /textql.rpc.public.rbac.RBACService/AssignRoleToMember: post: tags: - RBACService summary: AssignRoleToMember operationId: RBACService_AssignRoleToMember x-speakeasy-group: rbac x-speakeasy-name-override: assignRoleToMember parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.AssignRoleToMemberRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.AssignRoleToMemberResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.assignRoleToMember({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.assign_role_to_member() # Handle response print(res) /textql.rpc.public.rbac.RBACService/CreateApiKey: post: tags: - RBACService summary: CreateApiKey operationId: RBACService_CreateApiKey x-speakeasy-group: rbac x-speakeasy-name-override: createApiKey parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.CreateApiKeyRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.CreateApiKeyResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.createApiKey({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.create_api_key() # Handle response print(res) /textql.rpc.public.rbac.RBACService/CreatePersonalApiKey: post: tags: - RBACService summary: CreatePersonalApiKey operationId: RBACService_CreatePersonalApiKey x-speakeasy-group: rbac x-speakeasy-name-override: createPersonalApiKey parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.CreatePersonalApiKeyRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.CreateApiKeyResult' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.createPersonalApiKey({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.create_personal_api_key() # Handle response print(res) /textql.rpc.public.rbac.RBACService/CreateRole: post: tags: - RBACService summary: Role management description: Role management operationId: RBACService_CreateRole x-speakeasy-group: rbac x-speakeasy-name-override: createRole parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.CreateRoleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.CreateRoleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.createRole({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.create_role() # Handle response print(res) /textql.rpc.public.rbac.RBACService/CreateServiceAccount: post: tags: - RBACService summary: CreateServiceAccount operationId: RBACService_CreateServiceAccount x-speakeasy-group: rbac x-speakeasy-name-override: createServiceAccount parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.CreateServiceAccountRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.CreateServiceAccountResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.createServiceAccount({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.create_service_account() # Handle response print(res) /textql.rpc.public.rbac.RBACService/CreateServiceAccountApiKey: post: tags: - RBACService summary: CreateServiceAccountApiKey operationId: RBACService_CreateServiceAccountApiKey x-speakeasy-group: rbac x-speakeasy-name-override: createServiceAccountApiKey parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.CreateServiceAccountApiKeyRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.CreateApiKeyResult' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.createServiceAccountApiKey({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.create_service_account_api_key() # Handle response print(res) /textql.rpc.public.rbac.RBACService/DeleteRole: post: tags: - RBACService summary: DeleteRole operationId: RBACService_DeleteRole x-speakeasy-group: rbac x-speakeasy-name-override: deleteRole parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.DeleteRoleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.DeleteRoleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.deleteRole({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.delete_role() # Handle response print(res) /textql.rpc.public.rbac.RBACService/DeleteServiceAccount: post: tags: - RBACService summary: DeleteServiceAccount operationId: RBACService_DeleteServiceAccount x-speakeasy-group: rbac x-speakeasy-name-override: deleteServiceAccount parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.DeleteServiceAccountRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.DeleteServiceAccountResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.deleteServiceAccount({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.delete_service_account() # Handle response print(res) /textql.rpc.public.rbac.RBACService/GenerateShareLink: post: tags: - RBACService summary: GenerateShareLink operationId: RBACService_GenerateShareLink x-speakeasy-group: rbac x-speakeasy-name-override: generateShareLink parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GenerateShareLinkRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GenerateShareLinkResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.generateShareLink({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.generate_share_link() # Handle response print(res) /textql.rpc.public.rbac.RBACService/GetCurrentMemberRolesAndPermissions: post: tags: - RBACService summary: GetCurrentMemberRolesAndPermissions operationId: RBACService_GetCurrentMemberRolesAndPermissions x-speakeasy-group: rbac x-speakeasy-name-override: getCurrentMemberRolesAndPermissions parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetCurrentMemberRolesAndPermissionsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetCurrentMemberRolesAndPermissionsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.getCurrentMemberRolesAndPermissions({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.get_current_member_roles_and_permissions(body={}) # Handle response print(res) /textql.rpc.public.rbac.RBACService/GetEmbedUserApiKey: post: tags: - RBACService summary: GetEmbedUserApiKey operationId: RBACService_GetEmbedUserApiKey x-speakeasy-group: rbac x-speakeasy-name-override: getEmbedUserApiKey parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetEmbedUserApiKeyRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetEmbedUserApiKeyResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.getEmbedUserApiKey({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.get_embed_user_api_key() # Handle response print(res) /textql.rpc.public.rbac.RBACService/GetMemberRoles: post: tags: - RBACService summary: GetMemberRoles operationId: RBACService_GetMemberRoles x-speakeasy-group: rbac x-speakeasy-name-override: getMemberRoles parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetMemberRolesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetMemberRolesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.getMemberRoles({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.get_member_roles() # Handle response print(res) /textql.rpc.public.rbac.RBACService/GetObjectAccess: post: tags: - RBACService summary: GetObjectAccess operationId: RBACService_GetObjectAccess x-speakeasy-group: rbac x-speakeasy-name-override: getObjectAccess parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetObjectAccessRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetObjectAccessResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.getObjectAccess({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.get_object_access() # Handle response print(res) /textql.rpc.public.rbac.RBACService/GetRole: post: tags: - RBACService summary: GetRole operationId: RBACService_GetRole x-speakeasy-group: rbac x-speakeasy-name-override: getRole parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetRoleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetRoleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.getRole({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.get_role() # Handle response print(res) /textql.rpc.public.rbac.RBACService/GetRolePermissions: post: tags: - RBACService summary: GetRolePermissions operationId: RBACService_GetRolePermissions x-speakeasy-group: rbac x-speakeasy-name-override: getRolePermissions parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetRolePermissionsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.GetRolePermissionsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.getRolePermissions({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.get_role_permissions() # Handle response print(res) /textql.rpc.public.rbac.RBACService/HasObjectAccess: post: tags: - RBACService summary: HasObjectAccess operationId: RBACService_HasObjectAccess x-speakeasy-group: rbac x-speakeasy-name-override: hasObjectAccess parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.HasObjectAccessRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.HasObjectAccessResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.hasObjectAccess({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.has_object_access() # Handle response print(res) /textql.rpc.public.rbac.RBACService/ListAccessRequests: post: tags: - RBACService summary: ListAccessRequests operationId: RBACService_ListAccessRequests x-speakeasy-group: rbac x-speakeasy-name-override: listAccessRequests parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ListAccessRequestsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ListAccessRequestsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.listAccessRequests({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.list_access_requests() # Handle response print(res) /textql.rpc.public.rbac.RBACService/ListApiKeys: post: tags: - RBACService summary: ListApiKeys operationId: RBACService_ListApiKeys x-speakeasy-group: rbac x-speakeasy-name-override: listApiKeys parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ListApiKeysRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ListApiKeysResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.listApiKeys({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.list_api_keys() # Handle response print(res) /textql.rpc.public.rbac.RBACService/ListPermissions: post: tags: - RBACService summary: Permission management description: Permission management operationId: RBACService_ListPermissions x-speakeasy-group: rbac x-speakeasy-name-override: listPermissions parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ListPermissionsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ListPermissionsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.listPermissions({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.list_permissions(body={}) # Handle response print(res) /textql.rpc.public.rbac.RBACService/ListRoles: post: tags: - RBACService summary: ListRoles operationId: RBACService_ListRoles x-speakeasy-group: rbac x-speakeasy-name-override: listRoles parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ListRolesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ListRolesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.listRoles({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.list_roles(body={}) # Handle response print(res) /textql.rpc.public.rbac.RBACService/ListServiceAccounts: post: tags: - RBACService summary: ListServiceAccounts operationId: RBACService_ListServiceAccounts x-speakeasy-group: rbac x-speakeasy-name-override: listServiceAccounts parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ListServiceAccountsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ListServiceAccountsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.listServiceAccounts({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.list_service_accounts() # Handle response print(res) /textql.rpc.public.rbac.RBACService/RejectAccessRequest: post: tags: - RBACService summary: 'SCIM group-mapping migration tooling: one-time role<->group conversion, internal only.' description: |- SCIM group-mapping migration tooling: one-time role<->group conversion, internal only. operationId: RBACService_RejectAccessRequest x-speakeasy-group: rbac x-speakeasy-name-override: rejectAccessRequest parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RejectAccessRequestRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RejectAccessRequestResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.rejectAccessRequest({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.reject_access_request() # Handle response print(res) /textql.rpc.public.rbac.RBACService/RemovePermissionFromRole: post: tags: - RBACService summary: RemovePermissionFromRole operationId: RBACService_RemovePermissionFromRole x-speakeasy-group: rbac x-speakeasy-name-override: removePermissionFromRole parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RemovePermissionFromRoleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RemovePermissionFromRoleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.removePermissionFromRole({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.remove_permission_from_role() # Handle response print(res) /textql.rpc.public.rbac.RBACService/RemoveRoleFromMember: post: tags: - RBACService summary: Member role assignment description: Member role assignment operationId: RBACService_RemoveRoleFromMember x-speakeasy-group: rbac x-speakeasy-name-override: removeRoleFromMember parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RemoveRoleFromMemberRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RemoveRoleFromMemberResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.removeRoleFromMember({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.remove_role_from_member() # Handle response print(res) /textql.rpc.public.rbac.RBACService/RequestAccess: post: tags: - RBACService summary: RequestAccess operationId: RBACService_RequestAccess x-speakeasy-group: rbac x-speakeasy-name-override: requestAccess parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RequestAccessRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RequestAccessResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.requestAccess({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.request_access() # Handle response print(res) /textql.rpc.public.rbac.RBACService/RevokeApiKey: post: tags: - RBACService summary: Object sharing and access control description: Object sharing and access control operationId: RBACService_RevokeApiKey x-speakeasy-group: rbac x-speakeasy-name-override: revokeApiKey parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RevokeApiKeyRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RevokeApiKeyResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.revokeApiKey({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.revoke_api_key() # Handle response print(res) /textql.rpc.public.rbac.RBACService/RevokeObjectAccess: post: tags: - RBACService summary: RevokeObjectAccess operationId: RBACService_RevokeObjectAccess x-speakeasy-group: rbac x-speakeasy-name-override: revokeObjectAccess parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RevokeObjectAccessRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RevokeObjectAccessResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.revokeObjectAccess({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.revoke_object_access() # Handle response print(res) /textql.rpc.public.rbac.RBACService/RotateApiKey: post: tags: - RBACService summary: RotateApiKey operationId: RBACService_RotateApiKey x-speakeasy-group: rbac x-speakeasy-name-override: rotateApiKey parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RotateApiKeyRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.RotateApiKeyResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.rotateApiKey({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.rotate_api_key() # Handle response print(res) /textql.rpc.public.rbac.RBACService/SetRolePermissions: post: tags: - RBACService summary: Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. description: Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. operationId: RBACService_SetRolePermissions x-speakeasy-group: rbac x-speakeasy-name-override: setRolePermissions parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.SetRolePermissionsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.SetRolePermissionsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.setRolePermissions({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.set_role_permissions() # Handle response print(res) /textql.rpc.public.rbac.RBACService/ShareObject: post: tags: - RBACService summary: Describe what a key is allowed to do. description: Describe what a key is allowed to do. operationId: RBACService_ShareObject x-speakeasy-group: rbac x-speakeasy-name-override: shareObject parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ShareObjectRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ShareObjectResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.shareObject({ body: { expiresAt: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.share_object(expires_at=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.rbac.RBACService/ShareObjectWithRole: post: tags: - RBACService summary: Group management. Internal only. description: Group management. Internal only. operationId: RBACService_ShareObjectWithRole x-speakeasy-group: rbac x-speakeasy-name-override: shareObjectWithRole parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ShareObjectWithRoleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.ShareObjectWithRoleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.shareObjectWithRole({ body: { expiresAt: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.share_object_with_role(expires_at=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.rbac.RBACService/UpdateObjectAccess: post: tags: - RBACService summary: UpdateObjectAccess operationId: RBACService_UpdateObjectAccess x-speakeasy-group: rbac x-speakeasy-name-override: updateObjectAccess parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.UpdateObjectAccessRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.UpdateObjectAccessResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.updateObjectAccess({ body: { expiresAt: new Date("2023-01-15T01:30:15.01Z"), }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql from textql_sdk.utils import parse_datetime with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.update_object_access(expires_at=parse_datetime("2023-01-15T01:30:15.01Z")) # Handle response print(res) /textql.rpc.public.rbac.RBACService/UpdateObjectVisibility: post: tags: - RBACService summary: UpdateObjectVisibility operationId: RBACService_UpdateObjectVisibility x-speakeasy-group: rbac x-speakeasy-name-override: updateObjectVisibility parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.UpdateObjectVisibilityRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.UpdateObjectVisibilityResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.updateObjectVisibility({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.update_object_visibility() # Handle response print(res) /textql.rpc.public.rbac.RBACService/UpdateRole: post: tags: - RBACService summary: UpdateRole operationId: RBACService_UpdateRole x-speakeasy-group: rbac x-speakeasy-name-override: updateRole parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.UpdateRoleRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.UpdateRoleResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.updateRole({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.update_role() # Handle response print(res) /textql.rpc.public.rbac.RBACService/WhoAmI: post: tags: - RBACService summary: Get current member roles and permissions description: Get current member roles and permissions operationId: RBACService_WhoAmI x-speakeasy-group: rbac x-speakeasy-name-override: whoAmI parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.WhoAmIRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.rbac.WhoAmIResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.rbac.whoAmI({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.rbac.who_am_i(body={}) # Handle response print(res) /textql.rpc.public.sandbox_admin.SandboxAdminService/GetSandbox: post: tags: - SandboxAdminService summary: GetSandbox operationId: SandboxAdminService_GetSandbox x-speakeasy-group: sandboxAdmin x-speakeasy-name-override: getSandbox parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.GetSandboxRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.GetSandboxResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxAdmin.getSandbox({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_admin.get_sandbox() # Handle response print(res) /textql.rpc.public.sandbox_admin.SandboxAdminService/ListSandboxEgress: post: tags: - SandboxAdminService summary: Outbound HTTP(S) calls a sandbox made (the egress ledger). Durable — reads the recorded table, so it works for stopped sandboxes too. description: |- Outbound HTTP(S) calls a sandbox made (the egress ledger). Durable — reads the recorded table, so it works for stopped sandboxes too. operationId: SandboxAdminService_ListSandboxEgress x-speakeasy-group: sandboxAdmin x-speakeasy-name-override: listSandboxEgress parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ListSandboxEgressRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ListSandboxEgressResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxAdmin.listSandboxEgress({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_admin.list_sandbox_egress() # Handle response print(res) /textql.rpc.public.sandbox_admin.SandboxAdminService/ListSandboxExecutions: post: tags: - SandboxAdminService summary: ListSandboxExecutions operationId: SandboxAdminService_ListSandboxExecutions x-speakeasy-group: sandboxAdmin x-speakeasy-name-override: listExecutions parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ListSandboxExecutionsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ListSandboxExecutionsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxAdmin.listExecutions({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_admin.list_executions() # Handle response print(res) /textql.rpc.public.sandbox_admin.SandboxAdminService/ListSandboxFiles: post: tags: - SandboxAdminService summary: Live filesystem of a running sandbox. Both are NO-OP (read-only) and only return data while the worker is alive; available=false otherwise. description: |- Live filesystem of a running sandbox. Both are NO-OP (read-only) and only return data while the worker is alive; available=false otherwise. operationId: SandboxAdminService_ListSandboxFiles x-speakeasy-group: sandboxAdmin x-speakeasy-name-override: listSandboxFiles parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ListSandboxFilesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ListSandboxFilesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxAdmin.listSandboxFiles({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_admin.list_sandbox_files() # Handle response print(res) /textql.rpc.public.sandbox_admin.SandboxAdminService/ListSandboxSpend: post: tags: - SandboxAdminService summary: Per-lease compute usage for a sandbox, computed from lease durations × the compute rate. Durable (reads the lease table), so it works for stopped sandboxes. This is usage (ACUs), not the invoiced dollar amount. description: |- Per-lease compute usage for a sandbox, computed from lease durations × the compute rate. Durable (reads the lease table), so it works for stopped sandboxes. This is usage (ACUs), not the invoiced dollar amount. operationId: SandboxAdminService_ListSandboxSpend x-speakeasy-group: sandboxAdmin x-speakeasy-name-override: listSandboxSpend parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ListSandboxSpendRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ListSandboxSpendResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxAdmin.listSandboxSpend({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_admin.list_sandbox_spend() # Handle response print(res) /textql.rpc.public.sandbox_admin.SandboxAdminService/ListSandboxes: post: tags: - SandboxAdminService summary: ListSandboxes operationId: SandboxAdminService_ListSandboxes x-speakeasy-group: sandboxAdmin x-speakeasy-name-override: list parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ListSandboxesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ListSandboxesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxAdmin.list({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_admin.list() # Handle response print(res) /textql.rpc.public.sandbox_admin.SandboxAdminService/ReadSandboxFile: post: tags: - SandboxAdminService summary: ReadSandboxFile operationId: SandboxAdminService_ReadSandboxFile x-speakeasy-group: sandboxAdmin x-speakeasy-name-override: readFile parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ReadSandboxFileRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.ReadSandboxFileResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxAdmin.readFile({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_admin.read_file() # Handle response print(res) /textql.rpc.public.sandbox_admin.SandboxAdminService/RestartSandbox: post: tags: - SandboxAdminService summary: Restart a stopped/reaped sandbox by re-acquiring a worker for the same sandbox_id, preserving the original owner. Same scoping as StopSandbox (owner, or sandbox:write_private for org-wide). description: |- Restart a stopped/reaped sandbox by re-acquiring a worker for the same sandbox_id, preserving the original owner. Same scoping as StopSandbox (owner, or sandbox:write_private for org-wide). operationId: SandboxAdminService_RestartSandbox x-speakeasy-group: sandboxAdmin x-speakeasy-name-override: restartSandbox parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.RestartSandboxRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.RestartSandboxResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxAdmin.restartSandbox({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_admin.restart_sandbox() # Handle response print(res) /textql.rpc.public.sandbox_admin.SandboxAdminService/StopSandbox: post: tags: - SandboxAdminService summary: StopSandbox operationId: SandboxAdminService_StopSandbox x-speakeasy-group: sandboxAdmin x-speakeasy-name-override: stop parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.StopSandboxRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.StopSandboxResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxAdmin.stop({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_admin.stop() # Handle response print(res) /textql.rpc.public.sandbox_capability.SandboxCapabilityService/ExecuteWrite: post: tags: - SandboxCapabilityService summary: ExecuteWrite operationId: SandboxCapabilityService_ExecuteWrite x-speakeasy-group: sandboxCapabilities x-speakeasy-name-override: executeWrite parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxExecuteWriteRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxExecuteWriteResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxCapabilities.executeWrite({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_capabilities.execute_write() # Handle response print(res) /textql.rpc.public.sandbox_capability.SandboxCapabilityService/PollAsk: post: tags: - SandboxCapabilityService summary: PollAsk operationId: SandboxCapabilityService_PollAsk x-speakeasy-group: sandboxCapabilities x-speakeasy-name-override: pollAsk parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxPollAskRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxPollAskResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxCapabilities.pollAsk({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_capabilities.poll_ask() # Handle response print(res) /textql.rpc.public.sandbox_capability.SandboxCapabilityService/PutAsset: post: tags: - SandboxCapabilityService summary: PutAsset operationId: SandboxCapabilityService_PutAsset x-speakeasy-group: sandboxCapabilities x-speakeasy-name-override: putAsset parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxPutAssetRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxPutAssetResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxCapabilities.putAsset({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_capabilities.put_asset() # Handle response print(res) /textql.rpc.public.sandbox_capability.SandboxCapabilityService/SendNotify: post: tags: - SandboxCapabilityService summary: SendNotify operationId: SandboxCapabilityService_SendNotify x-speakeasy-group: sandboxCapabilities x-speakeasy-name-override: sendNotify parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxSendNotifyRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxSendNotifyResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxCapabilities.sendNotify({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_capabilities.send_notify() # Handle response print(res) /textql.rpc.public.sandbox_capability.SandboxCapabilityService/StartAsk: post: tags: - SandboxCapabilityService summary: StartAsk operationId: SandboxCapabilityService_StartAsk x-speakeasy-group: sandboxCapabilities x-speakeasy-name-override: startAsk parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxStartAskRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxStartAskResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxCapabilities.startAsk({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_capabilities.start_ask() # Handle response print(res) /textql.rpc.public.sandbox_capability.SandboxCapabilityService/StateOp: post: tags: - SandboxCapabilityService summary: StateOp operationId: SandboxCapabilityService_StateOp x-speakeasy-group: sandboxCapabilities x-speakeasy-name-override: stateOp parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxStateOpRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxStateOpResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandboxCapabilities.stateOp({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox_capabilities.state_op() # Handle response print(res) /textql.rpc.public.sandbox_exec.SandboxExecService/CreateSandbox: post: tags: - SandboxExecService summary: CreateSandbox operationId: SandboxExecService_CreateSandbox x-speakeasy-group: sandbox x-speakeasy-name-override: create parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.CreateSandboxRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.CreateSandboxResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandbox.create({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox.create() # Handle response print(res) /textql.rpc.public.sandbox_exec.SandboxExecService/Exec: post: tags: - SandboxExecService summary: Exec operationId: SandboxExecService_Exec x-speakeasy-group: sandbox x-speakeasy-name-override: exec parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.SandboxExecRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.SandboxExecResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandbox.exec({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox.exec() # Handle response print(res) /textql.rpc.public.sandbox_exec.SandboxExecService/ExecuteCode: post: tags: - SandboxExecService summary: ExecuteCode operationId: SandboxExecService_ExecuteCode x-speakeasy-group: sandbox x-speakeasy-name-override: executeCode parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.SandboxExecuteCodeRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.SandboxExecuteCodeResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandbox.executeCode({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox.execute_code() # Handle response print(res) /textql.rpc.public.sandbox_exec.SandboxExecService/GetToolAvailability: post: tags: - SandboxExecService summary: GetToolAvailability operationId: SandboxExecService_GetToolAvailability x-speakeasy-group: sandbox x-speakeasy-name-override: getToolAvailability parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.GetToolAvailabilityRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.GetToolAvailabilityResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandbox.getToolAvailability({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox.get_tool_availability(body={}) # Handle response print(res) /textql.rpc.public.sandbox_exec.SandboxExecService/LoadConnectorData: post: tags: - SandboxExecService summary: LoadConnectorData operationId: SandboxExecService_LoadConnectorData x-speakeasy-group: sandbox x-speakeasy-name-override: loadConnectorData parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.SandboxLoadConnectorDataRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.SandboxLoadConnectorDataResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandbox.loadConnectorData({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox.load_connector_data() # Handle response print(res) /textql.rpc.public.sandbox_query.SandboxQueryService/ExecuteBash: post: tags: - SandboxQueryService summary: Runs in the caller's own worker; no connector/source scoping. description: Runs in the caller's own worker; no connector/source scoping. operationId: SandboxQueryService_ExecuteBash x-speakeasy-group: sandbox x-speakeasy-name-override: executeBash parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxExecuteBashRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxExecuteBashResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandbox.executeBash({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox.execute_bash() # Handle response print(res) /textql.rpc.public.sandbox_query.SandboxQueryService/ExecuteQuery: post: tags: - SandboxQueryService summary: ExecuteQuery operationId: SandboxQueryService_ExecuteQuery x-speakeasy-group: sandbox x-speakeasy-name-override: executeQuery parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxExecuteQueryRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxExecuteQueryResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.sandbox.executeQuery({ body: { sqlQuery: {}, }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.sandbox.execute_query(body={ "sql_query": {}, }) # Handle response print(res) /textql.rpc.public.scim.ScimService/CreateScimOAuthClient: post: tags: - ScimService summary: CreateScimOAuthClient operationId: ScimService_CreateScimOAuthClient x-speakeasy-group: scim x-speakeasy-name-override: createOAuthClient parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimOAuthClientRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimOAuthClientResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.scim.createOAuthClient({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.scim.create_o_auth_client() # Handle response print(res) /textql.rpc.public.scim.ScimService/CreateScimToken: post: tags: - ScimService summary: CreateScimToken operationId: ScimService_CreateScimToken x-speakeasy-group: scim x-speakeasy-name-override: createScimToken parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimTokenRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimTokenResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.scim.createScimToken({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.scim.create_scim_token() # Handle response print(res) /textql.rpc.public.scim.ScimService/ListScimOAuthClients: post: tags: - ScimService summary: ListScimOAuthClients operationId: ScimService_ListScimOAuthClients x-speakeasy-group: scim x-speakeasy-name-override: listScimOAuthClients parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.ListScimOAuthClientsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.ListScimOAuthClientsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.scim.listScimOAuthClients({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.scim.list_scim_o_auth_clients(body={}) # Handle response print(res) /textql.rpc.public.scim.ScimService/ListScimTokens: post: tags: - ScimService summary: ListScimTokens operationId: ScimService_ListScimTokens x-speakeasy-group: scim x-speakeasy-name-override: list parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.ListScimTokensRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.ListScimTokensResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.scim.list({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.scim.list(body={}) # Handle response print(res) /textql.rpc.public.scim.ScimService/RevokeScimOAuthClient: post: tags: - ScimService summary: RevokeScimOAuthClient operationId: ScimService_RevokeScimOAuthClient x-speakeasy-group: scim x-speakeasy-name-override: revokeOAuthClient parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimOAuthClientRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimOAuthClientResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.scim.revokeOAuthClient({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.scim.revoke_o_auth_client() # Handle response print(res) /textql.rpc.public.scim.ScimService/RevokeScimToken: post: tags: - ScimService summary: RevokeScimToken operationId: ScimService_RevokeScimToken x-speakeasy-group: scim x-speakeasy-name-override: revokeScimToken parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimTokenRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimTokenResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.scim.revokeScimToken({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.scim.revoke_scim_token() # Handle response print(res) /textql.rpc.public.secret.SecretService/DeleteSecret: post: tags: - SecretService summary: DeleteSecret operationId: SecretService_DeleteSecret x-speakeasy-group: secrets x-speakeasy-name-override: deleteSecret parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.secret.DeleteSecretRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.secret.DeleteSecretResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.secrets.deleteSecret({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.secrets.delete_secret() # Handle response print(res) /textql.rpc.public.secret.SecretService/GetMembersWithSecrets: post: tags: - SecretService summary: GetMembersWithSecrets operationId: SecretService_GetMembersWithSecrets x-speakeasy-group: secrets x-speakeasy-name-override: getMembersWithSecrets parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.secret.GetMembersWithSecretsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.secret.GetMembersWithSecretsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.secrets.getMembersWithSecrets({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.secrets.get_members_with_secrets(body={}) # Handle response print(res) /textql.rpc.public.secret.SecretService/ListSecrets: post: tags: - SecretService summary: ListSecrets operationId: SecretService_ListSecrets x-speakeasy-group: secrets x-speakeasy-name-override: listSecrets parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.secret.ListSecretsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.secret.ListSecretsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.secrets.listSecrets({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.secrets.list_secrets(body={}) # Handle response print(res) /textql.rpc.public.secret.SecretService/PutSecret: post: tags: - SecretService summary: PutSecret operationId: SecretService_PutSecret x-speakeasy-group: secrets x-speakeasy-name-override: putSecret parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.secret.PutSecretRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.secret.PutSecretResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.secrets.putSecret({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.secrets.put_secret() # Handle response print(res) /textql.rpc.public.secret.SecretService/UpdateSecret: post: tags: - SecretService summary: UpdateSecret operationId: SecretService_UpdateSecret x-speakeasy-group: secrets x-speakeasy-name-override: update parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.secret.UpdateSecretRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.secret.UpdateSecretResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.secrets.update({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.secrets.update() # Handle response print(res) /textql.rpc.public.settings.SettingsService/CheckMemberStatus: post: tags: - SettingsService summary: CheckMemberStatus operationId: SettingsService_CheckMemberStatus x-speakeasy-group: settings x-speakeasy-name-override: checkMemberStatus parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.CheckMemberStatusRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.CheckMemberStatusResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.settings.checkMemberStatus({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.settings.check_member_status() # Handle response print(res) /textql.rpc.public.settings.SettingsService/DeleteOrganizationMember: post: tags: - SettingsService summary: DeleteOrganizationMember operationId: SettingsService_DeleteOrganizationMember x-speakeasy-group: settings x-speakeasy-name-override: deleteMember parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.DeleteOrganizationMemberRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.DeleteOrganizationMemberResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.settings.deleteMember({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.settings.delete_member() # Handle response print(res) /textql.rpc.public.settings.SettingsService/GetOrganizationSettings: post: tags: - SettingsService summary: GetOrganizationSettings operationId: SettingsService_GetOrganizationSettings x-speakeasy-group: settings x-speakeasy-name-override: get parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.GetOrganizationSettingsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.GetOrganizationSettingsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.settings.get({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.settings.get(body={}) # Handle response print(res) /textql.rpc.public.settings.SettingsService/InviteOrganizationMember: post: tags: - SettingsService summary: InviteOrganizationMember operationId: SettingsService_InviteOrganizationMember x-speakeasy-group: settings x-speakeasy-name-override: inviteMember parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.InviteOrganizationMemberRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.InviteOrganizationMemberResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.settings.inviteMember({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.settings.invite_member() # Handle response print(res) /textql.rpc.public.settings.SettingsService/ListOrganizationMembers: post: tags: - SettingsService summary: ListOrganizationMembers operationId: SettingsService_ListOrganizationMembers x-speakeasy-group: settings x-speakeasy-name-override: listMembers parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.ListOrganizationMembersRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.ListOrganizationMembersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.settings.listMembers({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.settings.list_members() # Handle response print(res) /textql.rpc.public.settings.SettingsService/UpdateOrganizationModelSettings: post: tags: - SettingsService summary: UpdateOrganizationModelSettings operationId: SettingsService_UpdateOrganizationModelSettings x-speakeasy-group: settings x-speakeasy-name-override: updateModels parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.UpdateOrganizationModelSettingsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.UpdateOrganizationModelSettingsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.settings.updateModels({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.settings.update_models() # Handle response print(res) /textql.rpc.public.settings.SettingsService/UpdateOrganizationSettings: post: tags: - SettingsService summary: UpdateOrganizationSettings operationId: SettingsService_UpdateOrganizationSettings x-speakeasy-group: settings x-speakeasy-name-override: update parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.UpdateOrganizationSettingsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.settings.UpdateOrganizationSettingsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.settings.update({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.settings.update() # Handle response print(res) /textql.rpc.public.slack.SlackService/CreateSlackUuid: post: tags: - SlackService summary: CreateSlackUuid operationId: SlackService_CreateSlackUuid x-speakeasy-group: slack x-speakeasy-name-override: createUuid parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.slack.CreateSlackUuidResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.slack.createUuid({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.slack.create_uuid(body={}) # Handle response print(res) /textql.rpc.public.slack.SlackService/DeleteInstallation: post: tags: - SlackService summary: DeleteInstallation operationId: SlackService_DeleteInstallation x-speakeasy-group: slack x-speakeasy-name-override: deleteInstallation parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.slack.DeleteInstallationRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.slack.deleteInstallation({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.slack.delete_installation() # Handle response print(res) /textql.rpc.public.slack.SlackService/GetCurrentUser: post: tags: - SlackService summary: GetCurrentUser operationId: SlackService_GetCurrentUser x-speakeasy-group: slack x-speakeasy-name-override: getCurrentUser parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.slack.GetCurrentUserResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.slack.getCurrentUser({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.slack.get_current_user(body={}) # Handle response print(res) /textql.rpc.public.slack.SlackService/HandleSlackOAuthCallback: post: tags: - SlackService summary: HandleSlackOAuthCallback operationId: SlackService_HandleSlackOAuthCallback x-speakeasy-group: slack x-speakeasy-name-override: handleOAuthCallback parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.slack.HandleSlackOAuthCallbackRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.slack.HandleSlackOAuthCallbackResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.slack.handleOAuthCallback({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.slack.handle_o_auth_callback() # Handle response print(res) /textql.rpc.public.slack.SlackService/ListChannels: post: tags: - SlackService summary: ListChannels operationId: SlackService_ListChannels x-speakeasy-group: slack x-speakeasy-name-override: listChannels parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.slack.ListChannelsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.slack.listChannels({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.slack.list_channels(body={}) # Handle response print(res) /textql.rpc.public.slack.SlackService/ListInstallations: post: tags: - SlackService summary: ListInstallations operationId: SlackService_ListInstallations x-speakeasy-group: slack x-speakeasy-name-override: listInstallations parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.slack.ListInstallationsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.slack.listInstallations({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.slack.list_installations(body={}) # Handle response print(res) /textql.rpc.public.slack.SlackService/ListUsers: post: tags: - SlackService summary: ListUsers operationId: SlackService_ListUsers x-speakeasy-group: slack x-speakeasy-name-override: listUsers parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.slack.ListUsersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.slack.listUsers({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.slack.list_users(body={}) # Handle response print(res) /textql.rpc.public.slack.SlackService/SyncWorkspace: post: tags: - SlackService summary: SyncWorkspace operationId: SlackService_SyncWorkspace x-speakeasy-group: slack x-speakeasy-name-override: syncWorkspace parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.slack.SyncWorkspaceRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.slack.SyncWorkspaceResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.slack.syncWorkspace({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.slack.sync_workspace() # Handle response print(res) /textql.rpc.public.tableau.TableauService/GenerateEmbedToken: post: tags: - TableauService summary: Generate JWT token for embedding views description: Generate JWT token for embedding views operationId: TableauService_GenerateEmbedToken x-speakeasy-group: tableau x-speakeasy-name-override: generateEmbedToken parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.GenerateEmbedTokenRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.GenerateEmbedTokenResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.generateEmbedToken({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.generate_embed_token() # Handle response print(res) /textql.rpc.public.tableau.TableauService/GetCollectionThumbnail: post: tags: - TableauService summary: Get collection thumbnail (first view image) description: Get collection thumbnail (first view image) operationId: TableauService_GetCollectionThumbnail x-speakeasy-group: tableau x-speakeasy-name-override: getCollectionThumbnail parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.GetCollectionThumbnailRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.GetCollectionThumbnailResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.getCollectionThumbnail({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.get_collection_thumbnail() # Handle response print(res) /textql.rpc.public.tableau.TableauService/GetConnectedAppStatus: post: tags: - TableauService summary: GetConnectedAppStatus operationId: TableauService_GetConnectedAppStatus x-speakeasy-group: tableau x-speakeasy-name-override: getConnectedAppStatus parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.GetConnectedAppStatusRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.GetConnectedAppStatusResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.getConnectedAppStatus({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.get_connected_app_status() # Handle response print(res) /textql.rpc.public.tableau.TableauService/GetStarredTableauItems: post: tags: - TableauService summary: GetStarredTableauItems operationId: TableauService_GetStarredTableauItems x-speakeasy-group: tableau x-speakeasy-name-override: getStarredItems parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.GetStarredTableauItemsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.GetStarredTableauItemsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.getStarredItems({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.get_starred_items() # Handle response print(res) /textql.rpc.public.tableau.TableauService/ListTableauDatasources: post: tags: - TableauService summary: List Tableau datasources description: List Tableau datasources operationId: TableauService_ListTableauDatasources x-speakeasy-group: tableau x-speakeasy-name-override: listTableauDatasources parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.ListTableauDatasourcesRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.ListTableauDatasourcesResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.listTableauDatasources({ body: { projectId: "", }, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.list_tableau_datasources(body={ "project_id": "", }) # Handle response print(res) /textql.rpc.public.tableau.TableauService/ListTableauProjects: post: tags: - TableauService summary: List Tableau projects description: List Tableau projects operationId: TableauService_ListTableauProjects x-speakeasy-group: tableau x-speakeasy-name-override: listProjects parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.ListTableauProjectsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.ListTableauProjectsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.listProjects({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.list_projects() # Handle response print(res) /textql.rpc.public.tableau.TableauService/ListTableauViews: post: tags: - TableauService summary: List Tableau views description: List Tableau views operationId: TableauService_ListTableauViews x-speakeasy-group: tableau x-speakeasy-name-override: listViews parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.ListTableauViewsRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.ListTableauViewsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.listViews({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.list_views() # Handle response print(res) /textql.rpc.public.tableau.TableauService/ListTableauWorkbooks: post: tags: - TableauService summary: List Tableau workbooks description: List Tableau workbooks operationId: TableauService_ListTableauWorkbooks x-speakeasy-group: tableau x-speakeasy-name-override: listWorkbooks parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.ListTableauWorkbooksRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.ListTableauWorkbooksResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.listWorkbooks({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.list_workbooks() # Handle response print(res) /textql.rpc.public.tableau.TableauService/RefreshTableauCollection: post: tags: - TableauService summary: RefreshTableauCollection operationId: TableauService_RefreshTableauCollection x-speakeasy-group: tableau x-speakeasy-name-override: refreshCollection parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.RefreshTableauCollectionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.RefreshTableauCollectionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.refreshCollection({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.refresh_collection() # Handle response print(res) /textql.rpc.public.tableau.TableauService/ResetConnectedApp: post: tags: - TableauService summary: ResetConnectedApp operationId: TableauService_ResetConnectedApp x-speakeasy-group: tableau x-speakeasy-name-override: resetConnectedApp parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.ResetConnectedAppRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.ResetConnectedAppResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.resetConnectedApp({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.reset_connected_app() # Handle response print(res) /textql.rpc.public.tableau.TableauService/StarTableauItem: post: tags: - TableauService summary: Star/unstar items description: Star/unstar items operationId: TableauService_StarTableauItem x-speakeasy-group: tableau x-speakeasy-name-override: starItem parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.StarTableauItemRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.StarTableauItemResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.starItem({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.star_item() # Handle response print(res) /textql.rpc.public.tableau.TableauService/TestTableauConnection: post: tags: - TableauService summary: Test a Tableau connection description: Test a Tableau connection operationId: TableauService_TestTableauConnection x-speakeasy-group: tableau x-speakeasy-name-override: testTableauConnection parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.TestTableauConnectionRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.TestTableauConnectionResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.testTableauConnection({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.test_tableau_connection() # Handle response print(res) /textql.rpc.public.tableau.TableauService/UnstarTableauItem: post: tags: - TableauService summary: UnstarTableauItem operationId: TableauService_UnstarTableauItem x-speakeasy-group: tableau x-speakeasy-name-override: unstarTableauItem parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.UnstarTableauItemRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.tableau.UnstarTableauItemResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.tableau.unstarTableauItem({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.tableau.unstar_tableau_item() # Handle response print(res) /textql.rpc.public.teams.TeamsService/CreateTeamsUuid: post: tags: - TeamsService summary: CreateTeamsUuid operationId: TeamsService_CreateTeamsUuid x-speakeasy-group: teams x-speakeasy-name-override: createUuid parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.teams.CreateTeamsUuidResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.teams.createUuid({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.teams.create_uuid(body={}) # Handle response print(res) /textql.rpc.public.teams.TeamsService/DeleteInstallation: post: tags: - TeamsService summary: DeleteInstallation operationId: TeamsService_DeleteInstallation x-speakeasy-group: teams x-speakeasy-name-override: deleteInstallation parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.teams.TeamsDeleteInstallationRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.teams.deleteInstallation({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.teams.delete_installation() # Handle response print(res) /textql.rpc.public.teams.TeamsService/GetCurrentUser: post: tags: - TeamsService summary: GetCurrentUser operationId: TeamsService_GetCurrentUser x-speakeasy-group: teams x-speakeasy-name-override: getCurrentUser parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.teams.TeamsGetCurrentUserResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.teams.getCurrentUser({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.teams.get_current_user(body={}) # Handle response print(res) /textql.rpc.public.teams.TeamsService/HandleTeamsOAuthCallback: post: tags: - TeamsService summary: HandleTeamsOAuthCallback operationId: TeamsService_HandleTeamsOAuthCallback x-speakeasy-group: teams x-speakeasy-name-override: handleOAuthCallback parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.teams.HandleTeamsOAuthCallbackRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.teams.HandleTeamsOAuthCallbackResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.teams.handleOAuthCallback({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.teams.handle_o_auth_callback() # Handle response print(res) /textql.rpc.public.teams.TeamsService/ListChannels: post: tags: - TeamsService summary: ListChannels operationId: TeamsService_ListChannels x-speakeasy-group: teams x-speakeasy-name-override: list parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.teams.TeamsListChannelsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.teams.list({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.teams.list(body={}) # Handle response print(res) /textql.rpc.public.teams.TeamsService/ListInstallations: post: tags: - TeamsService summary: ListInstallations operationId: TeamsService_ListInstallations x-speakeasy-group: teams x-speakeasy-name-override: listInstallations parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.teams.TeamsListInstallationsResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.teams.listInstallations({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.teams.list_installations(body={}) # Handle response print(res) /textql.rpc.public.teams.TeamsService/ListUsers: post: tags: - TeamsService summary: ListUsers operationId: TeamsService_ListUsers x-speakeasy-group: teams x-speakeasy-name-override: listUsers parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.teams.TeamsListUsersResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.teams.listUsers({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.teams.list_users(body={}) # Handle response print(res) /textql.rpc.public.teams.TeamsService/SyncWorkspace: post: tags: - TeamsService summary: SyncWorkspace operationId: TeamsService_SyncWorkspace x-speakeasy-group: teams x-speakeasy-name-override: syncWorkspace parameters: - name: Connect-Protocol-Version in: header required: true schema: $ref: '#/components/schemas/connect-protocol-version' - name: Connect-Timeout-Ms in: header schema: $ref: '#/components/schemas/connect-timeout-header' requestBody: content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.teams.TeamsSyncWorkspaceRequest' required: true responses: default: description: Error content: application/json: schema: $ref: '#/components/schemas/connect.error' "200": description: Success content: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.teams.TeamsSyncWorkspaceResponse' x-codeSamples: - lang: typescript label: TypeScript (SDK) source: |- import { Textql } from "@textql/sdk"; const textql = new Textql({ apiKey: process.env["TEXTQL_API_KEY"] ?? "", }); async function run() { const result = await textql.teams.syncWorkspace({ body: {}, }); console.log(result); } run(); - lang: python label: Python (SDK) source: |- import os from textql_sdk import Textql with Textql( api_key=os.getenv("TEXTQL_API_KEY", ""), ) as textql: res = textql.teams.sync_workspace() # Handle response print(res) components: schemas: connect-protocol-version: type: number title: Connect-Protocol-Version enum: - 1 description: Define the version of the Connect protocol const: 1 default: 1 connect-timeout-header: type: number title: Connect-Timeout-Ms description: Define the timeout, in ms connect.error: type: object properties: code: type: string examples: - not_found enum: - canceled - unknown - invalid_argument - deadline_exceeded - not_found - already_exists - permission_denied - resource_exhausted - failed_precondition - aborted - out_of_range - unimplemented - internal - unavailable - data_loss - unauthenticated description: The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. message: type: string description: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. details: type: array items: $ref: '#/components/schemas/connect.error_details.Any' description: A list of messages that carry the error details. There is no limit on the number of messages. title: Connect Error additionalProperties: true description: 'Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation' connect.error_details.Any: type: object properties: type: type: string description: 'A URL that acts as a globally unique identifier for the type of the serialized message. For example: `type.googleapis.com/google.rpc.ErrorInfo`. This is used to determine the schema of the data in the `value` field and is the discriminator for the `debug` field.' value: type: string format: binary description: The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the `type` field. debug: oneOf: - type: object title: Any additionalProperties: true description: Detailed error information. discriminator: propertyName: type title: Debug description: Deserialized error detail payload. The 'type' field indicates the schema. This field is for easier debugging and should not be relied upon for application logic. additionalProperties: true description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details. google.protobuf.BoolValue: type: boolean description: |- Wrapper message for `bool`. The JSON representation for `BoolValue` is JSON `true` and `false`. Not recommended for use in new APIs, but still useful for legacy APIs and has no plan to be removed. google.protobuf.Duration: type: string format: duration description: |- A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years. # Examples Example 1: Compute Duration from two Timestamps in pseudo code. Timestamp start = ...; Timestamp end = ...; Duration duration = ...; duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - start.nanos; if (duration.seconds < 0 && duration.nanos > 0) { duration.seconds += 1; duration.nanos -= 1000000000; } else if (duration.seconds > 0 && duration.nanos < 0) { duration.seconds -= 1; duration.nanos += 1000000000; } Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. Timestamp start = ...; Duration duration = ...; Timestamp end = ...; end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + duration.nanos; if (end.nanos < 0) { end.seconds -= 1; end.nanos += 1000000000; } else if (end.nanos >= 1000000000) { end.seconds += 1; end.nanos -= 1000000000; } Example 3: Compute Duration from datetime.timedelta in Python. td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.FromTimedelta(td) # JSON Mapping In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.000000001s", and 3 seconds and 1 microsecond should be expressed in JSON format as "3.000001s". google.protobuf.Empty: type: object description: |- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } google.protobuf.ListValue: type: object properties: values: type: array items: $ref: '#/components/schemas/google.protobuf.Value' title: values description: Repeated field of dynamically typed values. title: ListValue additionalProperties: false description: |- `ListValue` is a wrapper around a repeated field of values. The JSON representation for `ListValue` is JSON array. google.protobuf.NullValue: type: string title: NullValue enum: - NULL_VALUE description: |- `NullValue` is a singleton enumeration to represent the null value for the `Value` type union. The JSON representation for `NullValue` is JSON `null`. google.protobuf.Struct: type: object additionalProperties: $ref: '#/components/schemas/google.protobuf.Value' description: |- `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, `Struct` might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language. The JSON representation for `Struct` is JSON object. google.protobuf.Struct.FieldsEntry: type: object properties: key: type: string title: key value: title: value $ref: '#/components/schemas/google.protobuf.Value' title: FieldsEntry additionalProperties: false google.protobuf.Timestamp: type: string examples: - "2023-01-15T01:30:15.01Z" - "2024-12-25T12:00:00Z" format: date-time description: |- A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # Examples Example 1: Compute Timestamp from POSIX `time()`. Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0); Example 2: Compute Timestamp from POSIX `gettimeofday()`. struct timeval tv; gettimeofday(&tv, NULL); Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000); Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. long millis = System.currentTimeMillis(); Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis % 1000) * 1000000)).build(); Example 5: Compute Timestamp from Java `Instant.now()`. Instant now = Instant.now(); Timestamp timestamp = Timestamp.newBuilder().setSeconds(now.getEpochSecond()) .setNanos(now.getNano()).build(); Example 6: Compute Timestamp from current time in Python. timestamp = Timestamp() timestamp.GetCurrentTime() # JSON Mapping In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" where {year} is always expressed using four digits while {month}, {day}, {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone is required. A proto3 JSON serializer should always use UTC (as indicated by "Z") when printing the Timestamp type and a proto3 JSON parser should be able to accept both UTC and other timezones (as indicated by an offset). For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on January 15, 2017. In JavaScript, one can convert a Date object to this format using the standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) method. In Python, a standard `datetime.datetime` object can be converted to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() ) to obtain a formatter capable of generating timestamps in this format. google.protobuf.Value: oneOf: - type: "null" - type: number - type: string - type: boolean - type: array - type: object additionalProperties: true description: |- `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. The JSON representation for `Value` is JSON value. textql.rpc.auth.AssetUrlExpiry: type: string title: AssetUrlExpiry enum: - EXPIRY_NONE - EXPIRY_ONE_DAY - EXPIRY_SEVEN_DAYS - EXPIRY_THIRTY_DAYS - EXPIRY_ONE_YEAR - EXPIRY_FIFTEEN_MINUTES - EXPIRY_ONE_HOUR - EXPIRY_SIX_HOURS - EXPIRY_TWELVE_HOURS description: Values are the organization.asset_url_expiry column values — do not renumber. textql.rpc.auth.Member: type: object properties: id: type: integer title: id format: int32 orgId: type: string title: org_id memberId: type: string title: member_id role: type: string title: role nullable: true preferredFirstName: type: string title: preferred_first_name nullable: true preferredLastName: type: string title: preferred_last_name nullable: true showCode: type: boolean title: show_code nullable: true profileImageUrl: type: string title: profile_image_url nullable: true emailAddress: type: string title: email_address name: type: string title: name nullable: true isAdmin: type: boolean title: is_admin selectedConnectorId: type: integer title: selected_connector_id format: int32 nullable: true roles: type: array items: type: string title: roles createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' paradigmParams: title: paradigm_params nullable: true $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmParams' emailVerified: type: boolean title: email_verified selectedConnectorIds: type: array items: type: integer format: int32 title: selected_connector_ids isServiceAccount: type: boolean title: is_service_account isScimManaged: type: boolean title: is_scim_managed steering: type: boolean title: steering nullable: true phoneNumber: type: string title: phone_number nullable: true phoneVerified: type: boolean title: phone_verified nullable: true personalAgentId: type: string title: personal_agent_id nullable: true agentNumber: type: string title: agent_number nullable: true defaultMethodology: type: integer title: default_methodology format: int32 description: |- Per-member default response methodology for new chats, as a textql.rpc.public.chat.Methodology enum value (int to avoid an import cycle). 0 = UNKNOWN/unset -> fall back to the org default. Overrides the org default when set. nullable: true defaultLlmModel: type: integer title: default_llm_model format: int32 description: |- Per-member default LLM model for new chats, as a textql.rpc.public.chat.LlmModel enum value (int, matching the org-level default_llm_model). 0/MODEL_DEFAULT = unset -> role/org/system resolution. nullable: true defaultFastMode: type: boolean title: default_fast_mode description: |- Per-member default fast-mode preference for new chats. Unset -> off. Only applies when the org enables fast mode and the resolved model supports it. nullable: true firstName: type: string title: first_name description: Identity (auth-provider) names, distinct from the user-set preferred names. nullable: true lastName: type: string title: last_name nullable: true themeMode: type: string title: theme_mode description: |- Per-member UI theme preference: "light" | "dark" | "system". Unset -> the client falls back to its own default. Scoped to the membership, so a user in multiple orgs sets this per org. nullable: true shareAppBuilderChat: type: boolean title: share_app_builder_chat description: |- When this member creates a data app from a chat, share that builder chat (read-only) with everyone who can view the app. Unset -> off (opt-in). Snapshotted onto the app at creation time; later toggles only affect future apps. nullable: true title: Member additionalProperties: false textql.rpc.auth.Organization: type: object properties: orgId: type: string title: org_id slackTeamId: type: string title: slack_team_id nullable: true slackKey: type: string title: slack_key nullable: true defaultConnectorId: type: integer title: default_connector_id format: int32 description: 'Deprecated: use default_connector_ids instead' nullable: true deprecated: true limitDataVisibility: type: boolean title: limit_data_visibility requireAttached: type: boolean title: require_attached nullable: true organizationName: type: string title: organization_name createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' organizationLogoUrl: type: string title: organization_logo_url nullable: true emailAllowedDomains: type: array items: type: string title: email_allowed_domains allowedAuthMethods: type: array items: type: string title: allowed_auth_methods theme: title: theme nullable: true $ref: '#/components/schemas/textql.rpc.auth.Theme' orgMeta: type: string title: org_meta nullable: true injectWholeOntologyDisableSearch: type: boolean title: inject_whole_ontology_disable_search nullable: true warning: type: string title: warning nullable: true publicPreview: type: boolean title: public_preview chatV5Cutover: type: boolean title: chat_v5_cutover defaultParadigmMode: title: default_paradigm_mode nullable: true $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmType' secretsEnabled: type: boolean title: secrets_enabled emailPollingEnabled: type: boolean title: email_polling_enabled nullable: true logoUrl: type: string title: logo_url nullable: true brandName: type: string title: brand_name nullable: true paradigmParams: title: paradigm_params $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmParams' defaultLlmModel: type: integer title: default_llm_model format: int32 nullable: true preferredProvider: type: string title: preferred_provider nullable: true systemDefaultModel: type: integer title: system_default_model format: int32 description: Model MODEL_DEFAULT resolves to for this org; SYSTEM_DEFAULT_MODEL env var can override it. nullable: true toolRestrictions: title: tool_restrictions nullable: true $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmParams' consoleAccess: type: boolean title: console_access nullable: true defaultConnectorIds: type: array items: type: integer format: int32 title: default_connector_ids hideToolCells: type: boolean title: hide_tool_cells nullable: true disableEmojis: type: boolean title: disable_emojis nullable: true hideExampleConnectors: type: boolean title: hide_example_connectors nullable: true trainingMode: type: boolean title: training_mode nullable: true dashboardsEnabled: type: boolean title: dashboards_enabled nullable: true billingAdminId: type: string title: billing_admin_id nullable: true methodologyEnabled: type: boolean title: methodology_enabled nullable: true allowAllApiAccess: type: boolean title: allow_all_api_access nullable: true feedEnabled: type: boolean title: feed_enabled nullable: true contextV3Enabled: type: boolean title: context_v3_enabled nullable: true bashEnabled: type: boolean title: bash_enabled nullable: true defaultRoutingEnabled: type: boolean title: default_routing_enabled nullable: true enabledModelIds: type: array items: type: integer format: int32 title: enabled_model_ids restrictedModelIds: type: array items: type: integer format: int32 title: restricted_model_ids restrictedFamilies: type: array items: type: string title: restricted_families discoverable: type: boolean title: discoverable nullable: true observabilityEnabled: type: boolean title: observability_enabled nullable: true notificationsEnabled: type: boolean title: notifications_enabled nullable: true clientDbOverrideEnabled: type: boolean title: client_db_override_enabled nullable: true contextReviewRequired: type: boolean title: context_review_required nullable: true googleConnectorEnabled: type: boolean title: google_connector_enabled nullable: true hideApiConnectors: type: boolean title: hide_api_connectors nullable: true fastModeEnabled: type: boolean title: fast_mode_enabled nullable: true maxThinkingEnabled: type: boolean title: max_thinking_enabled nullable: true sandboxStateRetentionDays: type: integer title: sandbox_state_retention_days format: int32 nullable: true sandboxLeaseConfigEnabled: type: boolean title: sandbox_lease_config_enabled nullable: true deleteInactiveThreadsEnabled: type: boolean title: delete_inactive_threads_enabled nullable: true threadRetentionDays: type: integer title: thread_retention_days format: int32 nullable: true threadHardDeleteGraceDays: type: integer title: thread_hard_delete_grace_days format: int32 nullable: true deleteInactiveAppsEnabled: type: boolean title: delete_inactive_apps_enabled nullable: true appRetentionDays: type: integer title: app_retention_days format: int32 nullable: true appHardDeleteGraceDays: type: integer title: app_hard_delete_grace_days format: int32 nullable: true assetUrlExpiry: title: asset_url_expiry $ref: '#/components/schemas/textql.rpc.auth.AssetUrlExpiry' emailOutputEnabled: type: boolean title: email_output_enabled nullable: true defaultPlaybookPrivate: type: boolean title: default_playbook_private description: |- Mirror of the email_output_enabled feature flag (in feature_flags table, not on the organization row). Surfaces in settings UIs alongside the org-row toggles. nullable: true defaultDashboardOutput: type: boolean title: default_dashboard_output nullable: true defaultMethodology: type: integer title: default_methodology format: int32 nullable: true scimNewGroupDefaultRoleType: type: string title: scim_new_group_default_role_type description: |- Org-wide default response methodology for new chats, as a textql.rpc.public.chat.Methodology enum value (int to avoid an import cycle with the public package). 0 = UNKNOWN/unset -> ADAPTIVE. Overridable per-member (Member.default_methodology) and per-chat. nullable: true groupsFeatureEnabled: type: boolean title: groups_feature_enabled nullable: true availableProviders: type: array items: type: string title: available_providers showTextqlUsage: type: boolean title: show_textql_usage nullable: true tracesEnabled: type: boolean title: traces_enabled description: |- When true, the ANA_INTERNAL ("TextQL Usage") connector includes @textql.com staff activity in its usage views; when false (default) they are filtered out. nullable: true allowLlmDataRetention: type: boolean title: allow_llm_data_retention nullable: true soxDbSessionMetadataEnabled: type: boolean title: sox_db_session_metadata_enabled nullable: true smsEnabled: type: boolean title: sms_enabled nullable: true scimAssignDefaultRole: type: boolean title: scim_assign_default_role nullable: true migrationBannerDismissed: type: boolean title: migration_banner_dismissed nullable: true configMigrationsEnabled: type: boolean title: config_migrations_enabled description: dismiss legacy-context migration banner org-wide nullable: true deprecated: true sandboxObservabilityEnabled: type: boolean title: sandbox_observability_enabled description: 'Deprecated: superseded by config_objects_enabled (field 80); no longer populated.' nullable: true dataAppsEnabled: type: boolean title: data_apps_enabled nullable: true issuesEnabled: type: boolean title: issues_enabled description: Internal gate for the data apps feature (apps resource + html generative dashboards). nullable: true configObjectsEnabled: type: boolean title: config_objects_enabled nullable: true configObjectsPlaybooksEnabled: type: boolean title: config_objects_playbooks_enabled description: |- config_objects feature_flags row: the umbrella half of the config-management predicate (library.ConfigManagedOrg = this flag AND the org already having a Library — the flag alone does not make an org config-managed). One switch for every object type and every config-managed-object behavior — Ana's authoring tools, the export RPC + capabilities, reconcile takeover, the lazy row-to-config migration. Supersedes config_migrations_enabled (field 74). nullable: true deprecated: true configObjectsDashboardsEnabled: type: boolean title: config_objects_dashboards_enabled description: |- Deprecated: never populated. config_objects_enabled (field 80) is the umbrella for every object type — config management is one-way, so a per-type switch that cannot un-migrate an object is either inert or actively harmful (ADR-0040). Retained only because proto/api is additive-only. nullable: true deprecated: true configAutofixEnabled: type: boolean title: config_autofix_enabled nullable: true deprecated: true helmChartVersion: type: string title: helm_chart_version description: |- Deprecated: never populated. The autofix sweep no longer has a per-org opt-in — it runs for every org with the config-object checks surface on. Retained only because proto/api is additive-only. nullable: true spendTransparencyEnabled: type: boolean title: spend_transparency_enabled description: |- Org-level opt-in: show dollar costs alongside ACU figures across the product. Which figures a given viewer sees is enforced separately, per-RPC. nullable: true sharingDisabled: type: boolean title: sharing_disabled nullable: true appWritebackAutoApproveEnabled: type: boolean title: app_writeback_auto_approve_enabled nullable: true subagentsEnabled: type: boolean title: subagents_enabled description: Auto-merge Data App editor writeback config patches (recommended on); when off the writeback opens a reviewable patch instead. nullable: true title: Organization additionalProperties: false textql.rpc.auth.Theme: type: object properties: bg: type: string title: bg headerBg: type: string title: header_bg cardBg: type: string title: card_bg primaryAccent: type: string title: primary_accent cardAccent: type: string title: card_accent heading: type: string title: heading text: type: string title: text cardHeading: type: string title: card_heading cardText: type: string title: card_text logoUrl: type: string title: logo_url nullable: true docsUrl: type: string title: docs_url nullable: true title: Theme additionalProperties: false textql.rpc.identity.MemberPreview: type: object properties: memberId: type: string title: member_id memberEmail: type: string title: member_email description: |- the fields are optionally populated, depending on the context may require RPC fields such as `include_owner` to be set to true nullable: true memberName: type: string title: member_name nullable: true memberPictureUrl: type: string title: member_picture_url nullable: true title: MemberPreview additionalProperties: false textql.rpc.paradigm_params.ParadigmParams: type: object properties: webSearchEnabled: type: boolean title: web_search_enabled sqlEnabled: type: boolean title: sql_enabled ontologyEnabled: type: boolean title: ontology_enabled pythonEnabled: type: boolean title: python_enabled powerbiEnabled: type: boolean title: powerbi_enabled googleDriveEnabled: type: boolean title: google_drive_enabled formEditorEnabled: type: boolean title: form_editor_enabled tableauEnabled: type: boolean title: tableau_enabled fileUploadEnabled: type: boolean title: file_upload_enabled multipleConnectorMode: type: boolean title: multiple_connector_mode deprecated: true playbookToolsEnabled: type: boolean title: playbook_tools_enabled microsoft365Enabled: type: boolean title: microsoft_365_enabled bashEnabled: type: boolean title: bash_enabled javascriptEnabled: type: boolean title: javascript_enabled modelSwitchingEnabled: type: boolean title: model_switching_enabled feedExplorerEnabled: type: boolean title: feed_explorer_enabled feedPostEnabled: type: boolean title: feed_post_enabled feedCommentEnabled: type: boolean title: feed_comment_enabled feedEngageEnabled: type: boolean title: feed_engage_enabled compactionDisabled: type: boolean title: compaction_disabled gmailEnabled: type: boolean title: gmail_enabled chatHistorySearchEnabled: type: boolean title: chat_history_search_enabled googleCalendarEnabled: type: boolean title: google_calendar_enabled parallelToolsEnabled: type: boolean title: parallel_tools_enabled emailOutputEnabled: type: boolean title: email_output_enabled questionsToolEnabled: type: boolean title: questions_tool_enabled powerbiSelections: type: array items: $ref: '#/components/schemas/textql.rpc.powerbi_selection.PowerBISelection' title: powerbi_selections datasetId: type: string title: dataset_id description: |- Per-chat/agent options: registers the EmailCell tool (default off, opt-in). Org tool_restrictions: allows the Email tool org-wide (default on). nullable: true title: ParadigmParams additionalProperties: false textql.rpc.paradigm_params.ParadigmType: type: string title: ParadigmType enum: - TYPE_UNKNOWN - TYPE_UNIVERSAL textql.rpc.powerbi_selection.PowerBISelection: type: object properties: workspaceId: type: string title: workspace_id reportIds: type: array items: type: string title: report_ids datasetIds: type: array items: type: string title: dataset_ids workspaceName: type: string title: workspace_name connectorId: type: integer title: connector_id format: int32 title: PowerBISelection additionalProperties: false description: |- PowerBISelection captures a chosen PowerBI workspace (and optionally the specific reports/datasets within it) for attaching to a chat. Field shape mirrors textql.rpc.public.paradigm.PowerBISelection; kept in a standalone package so it can be shared by paradigm_params without an import cycle (public/paradigm.proto already imports paradigm_params.proto). textql.rpc.public.agent.Agent: type: object properties: id: type: string title: id name: type: string title: name prompt: type: string title: prompt isActive: type: boolean title: is_active lastPostAt: title: last_post_at $ref: '#/components/schemas/google.protobuf.Timestamp' paradigmOptions: title: paradigm_options nullable: true $ref: '#/components/schemas/textql.rpc.public.paradigm.ParadigmOptions' postCount: type: integer title: post_count format: int32 commentCount: type: integer title: comment_count format: int32 voteCount: type: integer title: vote_count format: int32 memberId: type: string title: member_id memberName: type: string title: member_name lastChatId: type: string title: last_chat_id hasWritePermission: type: boolean title: has_write_permission nullable: true slackChannelId: type: string title: slack_channel_id description: Notification delivery nullable: true slackDmUserIds: type: array items: type: string title: slack_dm_user_ids skipOrgDefaultChannel: type: boolean title: skip_org_default_channel llmModel: title: llm_model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' fastMode: type: boolean title: fast_mode nullable: true isStateful: type: boolean title: is_stateful description: whether or not we inject past run history nullable: true postingFrequencyCrons: type: array items: type: string title: posting_frequency_crons emailOutputEnabled: type: boolean title: email_output_enabled emailRecipientMemberIds: type: array items: type: string title: email_recipient_member_ids webhookTriggerId: type: string title: webhook_trigger_id channelIds: type: array items: type: string title: channel_ids teamsChannelId: type: string title: teams_channel_id nullable: true teamsDmUserAadIds: type: array items: type: string title: teams_dm_user_aad_ids slackTrigger: title: slack_trigger nullable: true $ref: '#/components/schemas/textql.rpc.public.agent.SlackAgentTrigger' profileImageUrl: type: string title: profile_image_url postingFrequencyCadences: type: array items: type: string title: posting_frequency_cadences description: |- Index-aligned with posting_frequency_crons. Each entry is the flexible cadence (HOURLY/FOUR-HOUR/EIGHT-HOUR/DAILY/WEEKLY) the schedule came from, or "" when the schedule is an exact custom cron. callableAsSubagent: type: boolean title: callable_as_subagent description: |- Whether this agent participates in the feed (posts/comments/engages, feed tools, feed persona prompt). Delivery config (channels, recipients, slack, teams) is only meaningful when true. subagentInvokerMemberIds: type: array items: type: string title: subagent_invoker_member_ids subagentInvokerRoleIds: type: array items: type: string title: subagent_invoker_role_ids feedEnabled: type: boolean title: feed_enabled subagentAgentIds: type: array items: type: string title: subagent_agent_ids allowAdHocSubagents: type: boolean title: allow_ad_hoc_subagents title: Agent additionalProperties: false textql.rpc.public.agent.AgentDBColumn: type: object properties: name: type: string title: name type: type: string title: type description: DuckDB type name, e.g. "VARCHAR", "BIGINT" nullable: type: boolean title: nullable primaryKey: type: boolean title: primary_key title: AgentDBColumn additionalProperties: false textql.rpc.public.agent.AgentDBTable: type: object properties: name: type: string title: name columns: type: array items: $ref: '#/components/schemas/textql.rpc.public.agent.AgentDBColumn' title: columns title: AgentDBTable additionalProperties: false textql.rpc.public.agent.AgentRun: type: object properties: id: type: string title: id agentId: type: string title: agent_id triggerSource: type: string title: trigger_source status: type: string title: status chatId: type: string title: chat_id webhookTriggerId: type: string title: webhook_trigger_id triggeredByMemberId: type: string title: triggered_by_member_id triggeredByAgentId: type: string title: triggered_by_agent_id errorKind: type: string title: error_kind errorMessage: type: string title: error_message attempt: type: integer title: attempt format: int32 toolCallsCount: type: integer title: tool_calls_count format: int32 lastSummary: type: string title: last_summary createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' startedAt: title: started_at $ref: '#/components/schemas/google.protobuf.Timestamp' finishedAt: title: finished_at $ref: '#/components/schemas/google.protobuf.Timestamp' triggerMetadata: title: trigger_metadata nullable: true $ref: '#/components/schemas/textql.rpc.public.agent.AgentRunTriggerMetadata' toolsSummary: title: tools_summary nullable: true $ref: '#/components/schemas/textql.rpc.public.agent.AgentRunToolsSummary' delivery: title: delivery nullable: true $ref: '#/components/schemas/textql.rpc.public.agent.AgentRunDelivery' egressSummary: title: egress_summary nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.EgressSummary' connectorIds: type: array items: type: integer format: int32 title: connector_ids sandboxMountMs: type: - integer - string title: sandbox_mount_ms format: int64 title: AgentRun additionalProperties: false textql.rpc.public.agent.AgentRunDelivery: type: object properties: slackChannelId: type: string title: slack_channel_id nullable: true teamsChannelId: type: string title: teams_channel_id nullable: true slackDmUserIds: type: array items: type: string title: slack_dm_user_ids teamsDmUserAadIds: type: array items: type: string title: teams_dm_user_aad_ids emailRecipientMemberIds: type: array items: type: string title: email_recipient_member_ids feedChannelIds: type: array items: type: string title: feed_channel_ids channels: type: array items: $ref: '#/components/schemas/textql.rpc.public.agent.AgentRunDeliveryChannel' title: channels title: AgentRunDelivery additionalProperties: false textql.rpc.public.agent.AgentRunDeliveryChannel: type: object properties: type: type: string title: type description: slack_channel | teams_channel | slack_dm | teams_dm | email | feed_channel id: type: string title: id description: raw identifier (channel id, member id, aad id) label: type: string title: label description: resolved human-readable label (#channel, email address) title: AgentRunDeliveryChannel additionalProperties: false textql.rpc.public.agent.AgentRunStatus: type: string title: AgentRunStatus enum: - AGENT_RUN_STATUS_UNSPECIFIED - AGENT_RUN_STATUS_RUNNING - AGENT_RUN_STATUS_DONE - AGENT_RUN_STATUS_FAILED - AGENT_RUN_STATUS_CANCELLED textql.rpc.public.agent.AgentRunToolCall: type: object properties: tool: type: string title: tool summary: type: string title: summary error: type: string title: error resultJson: type: string title: result_json cellId: type: string title: cell_id durationMs: type: - integer - string title: duration_ms format: int64 startedAtMs: type: - integer - string title: started_at_ms format: int64 title: AgentRunToolCall additionalProperties: false textql.rpc.public.agent.AgentRunToolsSummary: type: object properties: totalCalls: type: integer title: total_calls format: int32 toolCounts: type: object title: tool_counts additionalProperties: type: integer title: value format: int32 details: type: array items: $ref: '#/components/schemas/textql.rpc.public.agent.AgentRunToolCall' title: details title: AgentRunToolsSummary additionalProperties: false textql.rpc.public.agent.AgentRunToolsSummary.ToolCountsEntry: type: object properties: key: type: string title: key value: type: integer title: value format: int32 title: ToolCountsEntry additionalProperties: false textql.rpc.public.agent.AgentRunTriggerGeo: type: object properties: city: type: string title: city region: type: string title: region country: type: string title: country countryCode: type: string title: country_code title: AgentRunTriggerGeo additionalProperties: false textql.rpc.public.agent.AgentRunTriggerMetadata: type: object properties: authMethod: type: string title: auth_method memberId: type: string title: member_id apiKeyId: type: string title: api_key_id clientId: type: string title: client_id userAgent: type: string title: user_agent ip: type: string title: ip geo: title: geo nullable: true $ref: '#/components/schemas/textql.rpc.public.agent.AgentRunTriggerGeo' title: AgentRunTriggerMetadata additionalProperties: false textql.rpc.public.agent.AgentStatusUpdate: type: object properties: agentId: type: string title: agent_id status: title: status $ref: '#/components/schemas/textql.rpc.public.agent.AgentRunStatus' summary: type: string title: summary postId: type: string title: post_id mentionThingId: type: string title: mention_thing_id chatId: type: string title: chat_id title: AgentStatusUpdate additionalProperties: false textql.rpc.public.agent.CreateAgentRequest: type: object properties: name: type: string title: name prompt: type: string title: prompt paradigmOptions: title: paradigm_options nullable: true $ref: '#/components/schemas/textql.rpc.public.paradigm.ParadigmOptions' sourceSuggestionId: type: string title: source_suggestion_id slackChannelId: type: string title: slack_channel_id nullable: true slackDmUserIds: type: array items: type: string title: slack_dm_user_ids skipOrgDefaultChannel: type: boolean title: skip_org_default_channel llmModel: title: llm_model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' fastMode: type: boolean title: fast_mode nullable: true isStateful: type: boolean title: is_stateful nullable: true postingFrequencyCrons: type: array items: type: string title: posting_frequency_crons emailRecipientMemberIds: type: array items: type: string title: email_recipient_member_ids channelIds: type: array items: type: string title: channel_ids teamsChannelId: type: string title: teams_channel_id nullable: true teamsDmUserAadIds: type: array items: type: string title: teams_dm_user_aad_ids slackTrigger: title: slack_trigger nullable: true $ref: '#/components/schemas/textql.rpc.public.agent.SlackAgentTrigger' postingFrequencyCadences: type: array items: type: string title: posting_frequency_cadences description: |- Index-aligned with posting_frequency_crons. A non-empty cadence (HOURLY/FOUR-HOUR/EIGHT-HOUR/DAILY/WEEKLY) marks a flexible schedule whose cron the backend generates; "" (or an empty list) means exact. callableAsSubagent: type: boolean title: callable_as_subagent description: |- Unset defaults to true: new agents are delegatable unless the caller opts out. Mirrors allow_ad_hoc_subagents below. nullable: true subagentInvokerMemberIds: type: array items: type: string title: subagent_invoker_member_ids subagentInvokerRoleIds: type: array items: type: string title: subagent_invoker_role_ids feedEnabled: type: boolean title: feed_enabled nullable: true subagentAgentIds: type: array items: type: string title: subagent_agent_ids allowAdHocSubagents: type: boolean title: allow_ad_hoc_subagents nullable: true title: CreateAgentRequest additionalProperties: false textql.rpc.public.agent.CreateAgentResponse: type: object properties: agent: title: agent $ref: '#/components/schemas/textql.rpc.public.agent.Agent' chatId: type: string title: chat_id title: CreateAgentResponse additionalProperties: false textql.rpc.public.agent.DeleteAgentRequest: type: object properties: agentId: type: string title: agent_id title: DeleteAgentRequest additionalProperties: false textql.rpc.public.agent.DuplicateAgentRequest: type: object properties: agentId: type: string title: agent_id title: DuplicateAgentRequest additionalProperties: false textql.rpc.public.agent.DuplicateAgentResponse: type: object properties: agent: title: agent $ref: '#/components/schemas/textql.rpc.public.agent.Agent' title: DuplicateAgentResponse additionalProperties: false textql.rpc.public.agent.GetAgentDBSchemaRequest: type: object properties: agentId: type: string title: agent_id title: GetAgentDBSchemaRequest additionalProperties: false textql.rpc.public.agent.GetAgentDBSchemaResponse: type: object properties: tables: type: array items: $ref: '#/components/schemas/textql.rpc.public.agent.AgentDBTable' title: tables changeLogBytes: type: - integer - string title: change_log_bytes format: int64 description: durable Postgres change-log size; the .duckdb cache is derived from this title: GetAgentDBSchemaResponse additionalProperties: false textql.rpc.public.agent.GetAgentDBTablePreviewRequest: type: object properties: agentId: type: string title: agent_id tableName: type: string title: table_name limit: type: integer title: limit format: int32 description: clamped server-side; 0 uses the default title: GetAgentDBTablePreviewRequest additionalProperties: false textql.rpc.public.agent.GetAgentDBTablePreviewResponse: type: object properties: arrowData: type: string title: arrow_data format: byte title: GetAgentDBTablePreviewResponse additionalProperties: false textql.rpc.public.agent.GetAgentRequest: type: object properties: agentId: type: string title: agent_id title: GetAgentRequest additionalProperties: false textql.rpc.public.agent.GetAgentResponse: type: object properties: agent: title: agent $ref: '#/components/schemas/textql.rpc.public.agent.Agent' title: GetAgentResponse additionalProperties: false textql.rpc.public.agent.GetAgentRunRequest: type: object properties: runId: type: string title: run_id title: GetAgentRunRequest additionalProperties: false textql.rpc.public.agent.GetAgentRunResponse: type: object properties: run: title: run $ref: '#/components/schemas/textql.rpc.public.agent.AgentRun' title: GetAgentRunResponse additionalProperties: false textql.rpc.public.agent.ListAgentRunsRequest: type: object properties: agentId: type: string title: agent_id triggerSource: type: string title: trigger_source nullable: true status: type: string title: status nullable: true limit: type: integer title: limit format: int32 offset: type: integer title: offset format: int32 title: ListAgentRunsRequest additionalProperties: false textql.rpc.public.agent.ListAgentRunsResponse: type: object properties: runs: type: array items: $ref: '#/components/schemas/textql.rpc.public.agent.AgentRun' title: runs title: ListAgentRunsResponse additionalProperties: false textql.rpc.public.agent.ListAgentsRequest: type: object properties: includeInactive: type: boolean title: include_inactive includeAllOrg: type: boolean title: include_all_org days: type: integer title: days format: int32 title: ListAgentsRequest additionalProperties: false textql.rpc.public.agent.ListAgentsResponse: type: object properties: agents: type: array items: $ref: '#/components/schemas/textql.rpc.public.agent.Agent' title: agents title: ListAgentsResponse additionalProperties: false textql.rpc.public.agent.ResetAgentAvatarRequest: type: object properties: agentId: type: string title: agent_id title: ResetAgentAvatarRequest additionalProperties: false textql.rpc.public.agent.ResetAgentAvatarResponse: type: object properties: profileImageUrl: type: string title: profile_image_url description: Empty after a reset (agent falls back to the default identicon). title: ResetAgentAvatarResponse additionalProperties: false textql.rpc.public.agent.SlackAgentTrigger: type: object properties: triggerId: type: string title: trigger_id isActive: type: boolean title: is_active teamId: type: string title: team_id nullable: true allowedChannelIds: type: array items: type: string title: allowed_channel_ids title: SlackAgentTrigger additionalProperties: false textql.rpc.public.agent.StreamAgentStatusRequest: type: object title: StreamAgentStatusRequest additionalProperties: false textql.rpc.public.agent.TriggerAgentRequest: type: object properties: agentId: type: string title: agent_id title: TriggerAgentRequest additionalProperties: false textql.rpc.public.agent.TriggerAgentResponse: type: object properties: chatId: type: string title: chat_id title: TriggerAgentResponse additionalProperties: false textql.rpc.public.agent.UpdateAgentRequest: type: object properties: agentId: type: string title: agent_id name: type: string title: name prompt: type: string title: prompt isActive: type: boolean title: is_active paradigmOptions: title: paradigm_options nullable: true $ref: '#/components/schemas/textql.rpc.public.paradigm.ParadigmOptions' slackChannelId: type: string title: slack_channel_id nullable: true slackDmUserIds: type: array items: type: string title: slack_dm_user_ids skipOrgDefaultChannel: type: boolean title: skip_org_default_channel llmModel: title: llm_model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' fastMode: type: boolean title: fast_mode nullable: true isStateful: type: boolean title: is_stateful nullable: true postingFrequencyCrons: type: array items: type: string title: posting_frequency_crons emailRecipientMemberIds: type: array items: type: string title: email_recipient_member_ids updateEmailRecipients: type: boolean title: update_email_recipients nullable: true channelIds: type: array items: type: string title: channel_ids updateChannelIds: type: boolean title: update_channel_ids nullable: true teamsChannelId: type: string title: teams_channel_id nullable: true teamsDmUserAadIds: type: array items: type: string title: teams_dm_user_aad_ids slackTrigger: title: slack_trigger nullable: true $ref: '#/components/schemas/textql.rpc.public.agent.SlackAgentTrigger' postingFrequencyCadences: type: array items: type: string title: posting_frequency_cadences description: |- Index-aligned with posting_frequency_crons. A non-empty cadence (HOURLY/FOUR-HOUR/EIGHT-HOUR/DAILY/WEEKLY) marks a flexible schedule whose cron the backend generates; "" (or an empty list) means exact. callableAsSubagent: type: boolean title: callable_as_subagent description: Feed participation; nil = don't touch (mirrors fast_mode/is_stateful). nullable: true subagentInvokerMemberIds: type: array items: type: string title: subagent_invoker_member_ids subagentInvokerRoleIds: type: array items: type: string title: subagent_invoker_role_ids updateSubagentInvokers: type: boolean title: update_subagent_invokers nullable: true feedEnabled: type: boolean title: feed_enabled nullable: true subagentAgentIds: type: array items: type: string title: subagent_agent_ids updateSubagents: type: boolean title: update_subagents nullable: true allowAdHocSubagents: type: boolean title: allow_ad_hoc_subagents nullable: true title: UpdateAgentRequest additionalProperties: false textql.rpc.public.agent.UpdateAgentResponse: type: object properties: agent: title: agent $ref: '#/components/schemas/textql.rpc.public.agent.Agent' chatId: type: string title: chat_id title: UpdateAgentResponse additionalProperties: false textql.rpc.public.agent.UploadAgentAvatarRequest: type: object properties: agentId: type: string title: agent_id imageData: type: string title: image_data format: byte fileName: type: string title: file_name title: UploadAgentAvatarRequest additionalProperties: false textql.rpc.public.agent.UploadAgentAvatarResponse: type: object properties: profileImageUrl: type: string title: profile_image_url description: Signed URL of the newly uploaded avatar. title: UploadAgentAvatarResponse additionalProperties: false textql.rpc.public.app.App: type: object properties: id: type: string title: id orgId: type: string title: org_id description: the COMPLETE tree; files omitted here are deleted creatorId: type: string title: creator_id name: type: string title: name description: type: string title: description nullable: true code: type: string title: code dataSources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: data_sources htmlUrl: type: string title: html_url nullable: true screenshotUrl: type: string title: screenshot_url nullable: true consoleErrors: type: array items: type: string title: console_errors chatId: type: string title: chat_id nullable: true publishedHtmlUrl: type: string title: published_html_url nullable: true deprecated: true hasUnpublishedChanges: type: boolean title: has_unpublished_changes deprecated: true stalenessWindowSeconds: type: integer title: staleness_window_seconds format: int32 nullable: true computeFunctions: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.ComputeFunction' title: compute_functions files: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppFile' title: files scheduleEnabled: type: boolean title: schedule_enabled cronString: type: string title: cron_string nullable: true folderId: type: string title: folder_id nullable: true isFavorited: type: boolean title: is_favorited capabilities: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.Capability' title: capabilities appDbSetup: type: array items: type: string title: app_db_setup memberFeaturesEnabled: type: boolean title: member_features_enabled usesMemberFeatures: type: boolean title: uses_member_features deprecated: true viewerGrants: type: array items: type: string title: viewer_grants createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' refreshedAt: title: refreshed_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' publishedAt: title: published_at nullable: true deprecated: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: App additionalProperties: false textql.rpc.public.app.AppActivityBatch: type: object properties: records: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppActivityRecord' title: records title: AppActivityBatch additionalProperties: false textql.rpc.public.app.AppActivityHeartbeat: type: object title: AppActivityHeartbeat additionalProperties: false textql.rpc.public.app.AppActivityRecord: type: object properties: seq: type: - integer - string title: seq format: int64 memberId: type: string title: member_id displayName: type: string title: display_name type: type: string title: type scope: type: string title: scope nullable: true payloadJson: type: string title: payload_json nullable: true createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: AppActivityRecord additionalProperties: false description: |- One activity row from any member of the app; display_name resolved server-side. Never carries email or raw identity fields (names-not-emails is enforced here). textql.rpc.public.app.AppActivityStreamEvent: type: object oneOf: - type: object properties: activity: title: activity $ref: '#/components/schemas/textql.rpc.public.app.AppActivityBatch' title: activity required: - activity - type: object properties: heartbeat: title: heartbeat $ref: '#/components/schemas/textql.rpc.public.app.AppActivityHeartbeat' title: heartbeat required: - heartbeat - type: object properties: presence: title: presence $ref: '#/components/schemas/textql.rpc.public.app.AppPresenceSnapshot' title: presence required: - presence title: AppActivityStreamEvent additionalProperties: false description: 'One frame of the live stream: an activity batch, a presence snapshot, or a keepalive.' textql.rpc.public.app.AppDBColumn: type: object properties: name: type: string title: name description: running | stopped | error type: type: string title: type description: import/exec failure of the author module nullable: type: boolean title: nullable primaryKey: type: boolean title: primary_key description: tail of the server process log, redacted title: AppDBColumn additionalProperties: false textql.rpc.public.app.AppDBTable: type: object properties: name: type: string title: name columns: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppDBColumn' title: columns title: AppDBTable additionalProperties: false textql.rpc.public.app.AppFile: type: object properties: path: type: string title: path content: type: string title: content title: AppFile additionalProperties: false textql.rpc.public.app.AppHeartbeatRequest: type: object properties: appId: type: string title: app_id description: the resolved default after the change; unset when cleared title: AppHeartbeatRequest additionalProperties: false textql.rpc.public.app.AppMemberActivityRow: type: object properties: seq: type: - integer - string title: seq format: int64 type: type: string title: type scope: type: string title: scope nullable: true payloadJson: type: string title: payload_json nullable: true createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: AppMemberActivityRow additionalProperties: false textql.rpc.public.app.AppPresenceMember: type: object properties: memberId: type: string title: member_id displayName: type: string title: display_name description: names, never emails zone: type: string title: zone title: AppPresenceMember additionalProperties: false textql.rpc.public.app.AppPresenceSnapshot: type: object properties: members: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppPresenceMember' title: members title: AppPresenceSnapshot additionalProperties: false textql.rpc.public.app.AppVersion: type: object properties: id: type: string title: id appId: type: string title: app_id versionNumber: type: integer title: version_number format: int32 code: type: string title: code dataSources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: data_sources computeFunctions: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.ComputeFunction' title: compute_functions files: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppFile' title: files name: type: string title: name description: type: string title: description nullable: true publishedHtmlUrl: type: string title: published_html_url nullable: true stalenessWindowSeconds: type: integer title: staleness_window_seconds format: int32 nullable: true publishedBy: type: string title: published_by label: type: string title: label nullable: true publishedAt: title: published_at $ref: '#/components/schemas/google.protobuf.Timestamp' publisher: title: publisher nullable: true $ref: '#/components/schemas/textql.rpc.identity.MemberPreview' commitId: type: string title: commit_id nullable: true title: AppVersion additionalProperties: false textql.rpc.public.app.AppViewerInfo: type: object properties: memberId: type: string title: member_id lastViewed: title: last_viewed $ref: '#/components/schemas/google.protobuf.Timestamp' viewCount: type: integer title: view_count format: int32 displayName: type: string title: display_name nullable: true recentViewTimes: type: array items: $ref: '#/components/schemas/google.protobuf.Timestamp' title: recent_view_times title: AppViewerInfo additionalProperties: false description: |- AppServer declares whether the app runs an optional persistent server: a long-lived python process in the app's dedicated worker. Its handlers serve webhook deliveries and server-handled compute functions, and module globals persist between requests (until the worker recycles). The server's source is not stored here — it lives in the app's file tree under `server/`, with `server/main.py` as the entry module (importing sibling `server/*.py` files). textql.rpc.public.app.Capability: type: object properties: type: type: string title: type name: type: string title: name description: whether the caller may edit this app (HasAppWriteAccess) nullable: true connectorId: type: integer title: connector_id format: int32 nullable: true statement: type: string title: statement nullable: true scope: type: string title: scope nullable: true subject: type: string title: subject nullable: true body: type: string title: body nullable: true parameters: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.CapabilityParam' title: parameters agentId: type: string title: agent_id nullable: true appDb: type: string title: app_db nullable: true title: Capability additionalProperties: false textql.rpc.public.app.CapabilityParam: type: object properties: name: type: string title: name type: type: string title: type nullable: true description: type: string title: description nullable: true title: CapabilityParam additionalProperties: false textql.rpc.public.app.ComputeFunction: type: object properties: name: type: string title: name description: type: string title: description params: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.ComputeFunctionParam' title: params returns: type: string title: returns description: Filter by specific folder nullable: true code: type: string title: code description: Only show apps with no folder tqlPath: type: string title: tql_path description: Only apps shared with the caller (not authored by them) nullable: true tql: type: string title: tql nullable: true grant: title: grant $ref: '#/components/schemas/textql.rpc.public.dashboard.Grant' title: ComputeFunction additionalProperties: false textql.rpc.public.app.ComputeFunctionParam: type: object properties: name: type: string title: name type: type: string title: type description: type: string title: description nullable: true title: ComputeFunctionParam additionalProperties: false textql.rpc.public.app.CreateAppRequest: type: object properties: name: type: string title: name description: type: string title: description nullable: true code: type: string title: code dataSources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: data_sources computeFunctions: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.ComputeFunction' title: compute_functions files: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppFile' title: files capabilities: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.Capability' title: capabilities appDbSetup: type: array items: type: string title: app_db_setup title: CreateAppRequest additionalProperties: false textql.rpc.public.app.CreateAppResponse: type: object properties: app: title: app $ref: '#/components/schemas/textql.rpc.public.app.App' title: CreateAppResponse additionalProperties: false textql.rpc.public.app.DeleteAppRequest: type: object properties: appId: type: string title: app_id description: full replacement for the calling member title: DeleteAppRequest additionalProperties: false textql.rpc.public.app.DuplicateAppRequest: type: object properties: appId: type: string title: app_id title: DuplicateAppRequest additionalProperties: false textql.rpc.public.app.DuplicateAppResponse: type: object properties: app: title: app description: optional; empty = current default vendor set $ref: '#/components/schemas/textql.rpc.public.app.App' title: DuplicateAppResponse additionalProperties: false textql.rpc.public.app.GetAppDBSchemaRequest: type: object properties: appId: type: string title: app_id title: GetAppDBSchemaRequest additionalProperties: false textql.rpc.public.app.GetAppDBSchemaResponse: type: object properties: tables: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppDBTable' title: tables changeLogBytes: type: - integer - string title: change_log_bytes format: int64 description: 'Routing observability: warm | warm_fallback | tql | sql.' title: GetAppDBSchemaResponse additionalProperties: false textql.rpc.public.app.GetAppDBTablePreviewRequest: type: object properties: appId: type: string title: app_id description: normalized relative path, forward slashes, no .. or leading / tableName: type: string title: table_name limit: type: integer title: limit format: int32 title: GetAppDBTablePreviewRequest additionalProperties: false description: AppFile is one non-entry file of a multi-file app tree; code remains the entry index.html. textql.rpc.public.app.GetAppDBTablePreviewResponse: type: object properties: arrowData: type: string title: arrow_data format: byte title: GetAppDBTablePreviewResponse additionalProperties: false textql.rpc.public.app.GetAppMemberStateRequest: type: object properties: appId: type: string title: app_id title: GetAppMemberStateRequest additionalProperties: false description: Per-member state textql.rpc.public.app.GetAppMemberStateResponse: type: object properties: valueJson: type: string title: value_json description: JSON object; "{}" when the member has no saved state title: GetAppMemberStateResponse additionalProperties: false textql.rpc.public.app.GetAppRequest: type: object properties: appId: type: string title: app_id description: signed /asset/apptree viewer URL for the published gallery tree title: GetAppRequest additionalProperties: false textql.rpc.public.app.GetAppResponse: type: object properties: app: title: app description: '''app'' | ''dashboard''' $ref: '#/components/schemas/textql.rpc.public.app.App' hasWritePermission: type: boolean title: has_write_permission title: GetAppResponse additionalProperties: false textql.rpc.public.app.GetAppVersionRequest: type: object properties: appId: type: string title: app_id description: False when the document predates tree publishing and has no runtime to overwrite. versionNumber: type: integer title: version_number format: int32 commitId: type: string title: commit_id nullable: true title: GetAppVersionRequest additionalProperties: false textql.rpc.public.app.GetAppVersionResponse: type: object properties: version: title: version $ref: '#/components/schemas/textql.rpc.public.app.AppVersion' title: GetAppVersionResponse additionalProperties: false textql.rpc.public.app.GetAppViewStatsRequest: type: object properties: appId: type: string title: app_id title: GetAppViewStatsRequest additionalProperties: false description: |- ComputeFunction is a declared server-side function invocable from the app via the bridge. Exactly one of code (python, runs on the app's worker), sql (plain SQL on the app's private DB), tql (inline TQL source), or tql_path (a Context Library .tql) must be set. TQL variants are real TQL (compiled at save time) executed against a connector; sql is the app-state path (:name params bound server-side, reserved :_now / :_uuid). textql.rpc.public.app.GetAppViewStatsResponse: type: object properties: totalViews: type: integer title: total_views format: int32 uniqueViewers: type: integer title: unique_viewers format: int32 recentViewers: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppViewerInfo' title: recent_viewers title: GetAppViewStatsResponse additionalProperties: false textql.rpc.public.app.GetMembersWithAppsRequest: type: object title: GetMembersWithAppsRequest additionalProperties: false textql.rpc.public.app.GetMembersWithAppsResponse: type: object properties: members: type: array items: $ref: '#/components/schemas/textql.rpc.identity.MemberPreview' title: members title: GetMembersWithAppsResponse additionalProperties: false textql.rpc.public.app.InvokeAppComputeFunctionRequest: type: object properties: appId: type: string title: app_id functionName: type: string title: function_name paramsJson: type: string title: params_json title: InvokeAppComputeFunctionRequest additionalProperties: false textql.rpc.public.app.InvokeAppComputeFunctionResponse: type: object properties: resultJson: type: string title: result_json title: InvokeAppComputeFunctionResponse additionalProperties: false textql.rpc.public.app.ListAppActivitySinceRequest: type: object properties: appId: type: string title: app_id scope: type: string title: scope nullable: true afterSeq: type: - integer - string title: after_seq format: int64 limit: type: integer title: limit format: int32 description: server clamps to 200; <=0 means default title: ListAppActivitySinceRequest additionalProperties: false textql.rpc.public.app.ListAppActivitySinceResponse: type: object properties: records: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppActivityRecord' title: records title: ListAppActivitySinceResponse additionalProperties: false textql.rpc.public.app.ListAppVersionsRequest: type: object properties: appId: type: string title: app_id limit: type: integer title: limit format: int32 offset: type: integer title: offset format: int32 title: ListAppVersionsRequest additionalProperties: false textql.rpc.public.app.ListAppVersionsResponse: type: object properties: versions: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppVersion' title: versions totalCount: type: integer title: total_count format: int32 title: ListAppVersionsResponse additionalProperties: false textql.rpc.public.app.ListAppsRequest: type: object properties: searchTerm: type: string title: search_term nullable: true limit: type: integer title: limit format: int32 offset: type: integer title: offset format: int32 folderId: type: string title: folder_id nullable: true uncategorizedOnly: type: boolean title: uncategorized_only nullable: true sharedWithMe: type: boolean title: shared_with_me nullable: true title: ListAppsRequest additionalProperties: false textql.rpc.public.app.ListAppsResponse: type: object properties: apps: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.App' title: apps totalCount: type: integer title: total_count format: int32 title: ListAppsResponse additionalProperties: false textql.rpc.public.app.ListMyAppMemberActivityRequest: type: object properties: appId: type: string title: app_id type: type: string title: type nullable: true limit: type: integer title: limit format: int32 description: server clamps to 200; <=0 means default title: ListMyAppMemberActivityRequest additionalProperties: false textql.rpc.public.app.ListMyAppMemberActivityResponse: type: object properties: rows: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppMemberActivityRow' title: rows title: ListMyAppMemberActivityResponse additionalProperties: false textql.rpc.public.app.MoveAppToFolderRequest: type: object properties: appId: type: string title: app_id folderId: type: string title: folder_id nullable: true title: MoveAppToFolderRequest additionalProperties: false textql.rpc.public.app.MoveAppToFolderResponse: type: object properties: app: title: app $ref: '#/components/schemas/textql.rpc.public.app.App' title: MoveAppToFolderResponse additionalProperties: false textql.rpc.public.app.PresenceHeartbeatRequest: type: object properties: appId: type: string title: app_id zone: type: string title: zone title: PresenceHeartbeatRequest additionalProperties: false textql.rpc.public.app.RecordAppMemberActivityRequest: type: object properties: appId: type: string title: app_id type: type: string title: type scope: type: string title: scope nullable: true payloadJson: type: string title: payload_json description: JSON object, usage payload authored by the app nullable: true idemKey: type: string title: idem_key description: duplicate key returns the existing row, not an error nullable: true title: RecordAppMemberActivityRequest additionalProperties: false description: Per-member activity log textql.rpc.public.app.RecordAppMemberActivityResponse: type: object properties: seq: type: - integer - string title: seq format: int64 createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: RecordAppMemberActivityResponse additionalProperties: false textql.rpc.public.app.RefreshAppRequest: type: object properties: appId: type: string title: app_id title: RefreshAppRequest additionalProperties: false textql.rpc.public.app.RefreshAppResponse: type: object properties: app: title: app $ref: '#/components/schemas/textql.rpc.public.app.App' title: RefreshAppResponse additionalProperties: false textql.rpc.public.app.RestoreAppVersionRequest: type: object properties: appId: type: string title: app_id versionNumber: type: integer title: version_number format: int32 commitId: type: string title: commit_id nullable: true title: RestoreAppVersionRequest additionalProperties: false textql.rpc.public.app.RestoreAppVersionResponse: type: object properties: app: title: app $ref: '#/components/schemas/textql.rpc.public.app.App' title: RestoreAppVersionResponse additionalProperties: false textql.rpc.public.app.SetAppMemberStateRequest: type: object properties: appId: type: string title: app_id valueJson: type: string title: value_json description: whole-object JSON, last-write-wins, max 64KB title: SetAppMemberStateRequest additionalProperties: false textql.rpc.public.app.SetAppMemberStateResponse: type: object title: SetAppMemberStateResponse additionalProperties: false textql.rpc.public.app.SetFavoriteRequest: type: object properties: primitiveType: type: string title: primitive_type primitiveId: type: string title: primitive_id favorited: type: boolean title: favorited description: '"" = brand/default accent' title: SetFavoriteRequest additionalProperties: false description: |- A named Data App design system: the file tree is the source of truth, the token fields mirror theme.json ("" = brand/default). All fields server-owned. textql.rpc.public.app.SetFavoriteResponse: type: object properties: favorited: type: boolean title: favorited title: SetFavoriteResponse additionalProperties: false textql.rpc.public.app.StreamAppActivityRequest: type: object properties: appId: type: string title: app_id scope: type: string title: scope description: server-side filter; empty = all scopes nullable: true afterSeq: type: - integer - string title: after_seq format: int64 description: client's last acked seq; catch-up starts here. Negative = live-only (baseline at current max) title: StreamAppActivityRequest additionalProperties: false textql.rpc.public.app.UpdateAppRequest: type: object properties: appId: type: string title: app_id name: type: string title: name nullable: true description: type: string title: description nullable: true code: type: string title: code nullable: true dataSources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: data_sources replaceDataSources: type: boolean title: replace_data_sources nullable: true publish: type: boolean title: publish nullable: true deprecated: true stalenessWindowSeconds: type: integer title: staleness_window_seconds format: int32 nullable: true computeFunctions: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.ComputeFunction' title: compute_functions replaceComputeFunctions: type: boolean title: replace_compute_functions nullable: true files: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.AppFile' title: files replaceFiles: type: boolean title: replace_files nullable: true scheduleEnabled: type: boolean title: schedule_enabled nullable: true cronString: type: string title: cron_string nullable: true capabilities: type: array items: $ref: '#/components/schemas/textql.rpc.public.app.Capability' title: capabilities replaceCapabilities: type: boolean title: replace_capabilities nullable: true appDbSetup: type: array items: type: string title: app_db_setup replaceAppDbSetup: type: boolean title: replace_app_db_setup nullable: true title: UpdateAppRequest additionalProperties: false textql.rpc.public.app.UpdateAppResponse: type: object properties: app: title: app description: ''':'', first = top of the sidebar' $ref: '#/components/schemas/textql.rpc.public.app.App' title: UpdateAppResponse additionalProperties: false textql.rpc.public.audit_log.AuditLogEntry: type: object properties: id: type: string title: id orgId: type: string title: org_id actorId: type: string title: actor_id actorEmail: type: string title: actor_email action: type: string title: action category: type: string title: category resourceType: type: string title: resource_type resourceId: type: string title: resource_id details: title: details $ref: '#/components/schemas/google.protobuf.Struct' ipAddress: type: string title: ip_address authMethod: type: string title: auth_method createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: AuditLogEntry additionalProperties: false textql.rpc.public.audit_log.ConfigureOtlpExportRequest: type: object properties: enabled: type: boolean title: enabled otlpEndpoint: type: string title: otlp_endpoint otlpHeaders: type: string title: otlp_headers otlpProtocol: type: string title: otlp_protocol pushIntervalSeconds: type: integer title: push_interval_seconds format: int32 title: ConfigureOtlpExportRequest additionalProperties: false textql.rpc.public.audit_log.ConfigureOtlpExportResponse: type: object properties: config: title: config $ref: '#/components/schemas/textql.rpc.public.audit_log.OtlpExportConfig' title: ConfigureOtlpExportResponse additionalProperties: false textql.rpc.public.audit_log.ConfigureS3ExportRequest: type: object properties: bucket: type: string title: bucket region: type: string title: region prefix: type: string title: prefix awsAccessKeyId: type: string title: aws_access_key_id awsSecretAccessKey: type: string title: aws_secret_access_key enabled: type: boolean title: enabled authMode: title: auth_mode $ref: '#/components/schemas/textql.rpc.public.audit_log.S3AuthMode' roleArn: type: string title: role_arn externalId: type: string title: external_id exportIntervalSeconds: type: integer title: export_interval_seconds format: int32 title: ConfigureS3ExportRequest additionalProperties: false textql.rpc.public.audit_log.ConfigureS3ExportResponse: type: object properties: config: title: config $ref: '#/components/schemas/textql.rpc.public.audit_log.S3ExportConfig' title: ConfigureS3ExportResponse additionalProperties: false textql.rpc.public.audit_log.DeleteOtlpExportConfigRequest: type: object title: DeleteOtlpExportConfigRequest additionalProperties: false textql.rpc.public.audit_log.DeleteOtlpExportConfigResponse: type: object title: DeleteOtlpExportConfigResponse additionalProperties: false textql.rpc.public.audit_log.DeleteS3ExportConfigRequest: type: object title: DeleteS3ExportConfigRequest additionalProperties: false textql.rpc.public.audit_log.DeleteS3ExportConfigResponse: type: object title: DeleteS3ExportConfigResponse additionalProperties: false textql.rpc.public.audit_log.GetOtlpExportConfigRequest: type: object title: GetOtlpExportConfigRequest additionalProperties: false textql.rpc.public.audit_log.GetOtlpExportConfigResponse: type: object properties: config: title: config nullable: true $ref: '#/components/schemas/textql.rpc.public.audit_log.OtlpExportConfig' title: GetOtlpExportConfigResponse additionalProperties: false textql.rpc.public.audit_log.GetS3ExportConfigRequest: type: object title: GetS3ExportConfigRequest additionalProperties: false textql.rpc.public.audit_log.GetS3ExportConfigResponse: type: object properties: config: title: config nullable: true $ref: '#/components/schemas/textql.rpc.public.audit_log.S3ExportConfig' title: GetS3ExportConfigResponse additionalProperties: false textql.rpc.public.audit_log.ListAuditLogsRequest: type: object properties: category: type: string title: category nullable: true actorId: type: string title: actor_id nullable: true action: type: string title: action nullable: true resourceType: type: string title: resource_type nullable: true cursor: type: string title: cursor nullable: true pageSize: type: integer title: page_size nullable: true searchTerm: type: string title: search_term nullable: true after: title: after nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: ListAuditLogsRequest additionalProperties: false textql.rpc.public.audit_log.ListAuditLogsResponse: type: object properties: entries: type: array items: $ref: '#/components/schemas/textql.rpc.public.audit_log.AuditLogEntry' title: entries nextCursor: type: string title: next_cursor nullable: true title: ListAuditLogsResponse additionalProperties: false textql.rpc.public.audit_log.OtlpExportConfig: type: object properties: enabled: type: boolean title: enabled otlpEndpoint: type: string title: otlp_endpoint otlpHeaders: type: string title: otlp_headers otlpProtocol: type: string title: otlp_protocol pushIntervalSeconds: type: integer title: push_interval_seconds format: int32 lastPushedAt: title: last_pushed_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: OtlpExportConfig additionalProperties: false textql.rpc.public.audit_log.S3AuthMode: type: string title: S3AuthMode enum: - S3_AUTH_MODE_UNSPECIFIED - S3_AUTH_MODE_ACCESS_KEY - S3_AUTH_MODE_ASSUME_ROLE textql.rpc.public.audit_log.S3ExportConfig: type: object properties: bucket: type: string title: bucket region: type: string title: region prefix: type: string title: prefix awsAccessKeyId: type: string title: aws_access_key_id awsSecretAccessKey: type: string title: aws_secret_access_key enabled: type: boolean title: enabled lastExportedAt: title: last_exported_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' authMode: title: auth_mode $ref: '#/components/schemas/textql.rpc.public.audit_log.S3AuthMode' roleArn: type: string title: role_arn externalId: type: string title: external_id exportIntervalSeconds: type: integer title: export_interval_seconds format: int32 title: S3ExportConfig additionalProperties: false textql.rpc.public.audit_log.TestOtlpExportConnectionRequest: type: object properties: otlpEndpoint: type: string title: otlp_endpoint otlpHeaders: type: string title: otlp_headers otlpProtocol: type: string title: otlp_protocol title: TestOtlpExportConnectionRequest additionalProperties: false textql.rpc.public.audit_log.TestOtlpExportConnectionResponse: type: object properties: success: type: boolean title: success errorMessage: type: string title: error_message title: TestOtlpExportConnectionResponse additionalProperties: false textql.rpc.public.audit_log.TestS3ExportConnectionRequest: type: object properties: bucket: type: string title: bucket region: type: string title: region awsAccessKeyId: type: string title: aws_access_key_id awsSecretAccessKey: type: string title: aws_secret_access_key authMode: title: auth_mode $ref: '#/components/schemas/textql.rpc.public.audit_log.S3AuthMode' roleArn: type: string title: role_arn externalId: type: string title: external_id title: TestS3ExportConnectionRequest additionalProperties: false textql.rpc.public.audit_log.TestS3ExportConnectionResponse: type: object properties: success: type: boolean title: success errorMessage: type: string title: error_message title: TestS3ExportConnectionResponse additionalProperties: false textql.rpc.public.audit_log.TriggerOtlpExportRequest: type: object title: TriggerOtlpExportRequest additionalProperties: false textql.rpc.public.audit_log.TriggerOtlpExportResponse: type: object properties: triggered: type: boolean title: triggered title: TriggerOtlpExportResponse additionalProperties: false textql.rpc.public.audit_log.TriggerS3ExportRequest: type: object title: TriggerS3ExportRequest additionalProperties: false textql.rpc.public.audit_log.TriggerS3ExportResponse: type: object properties: triggered: type: boolean title: triggered title: TriggerS3ExportResponse additionalProperties: false textql.rpc.public.cells.AgentInfo: type: object properties: id: type: string title: id name: type: string title: name avatarUrl: type: string title: avatar_url type: type: string title: type description: '"human" or "bot"' email: type: string title: email nullable: true title: AgentInfo additionalProperties: false textql.rpc.public.cells.AnswerCell: type: object properties: content: type: string title: content images: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.ImageReference' title: images sql: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.SQLReference' title: sql title: AnswerCell additionalProperties: false textql.rpc.public.cells.AppCell: type: object properties: action: type: string title: action description: create | update | publish appId: type: string title: app_id name: type: string title: name errorMessage: type: string title: error_message nullable: true screenshotUrl: type: string title: screenshot_url nullable: true lastRunAt: type: string title: last_run_at nullable: true buildLineCount: type: integer title: build_line_count format: int32 description: |- Size of the app being written, updated live as the tool args stream so the builder loader can show real "N lines / M files" progress during generation. nullable: true buildFileCount: type: integer title: build_file_count format: int32 nullable: true title: AppCell additionalProperties: false description: AppCell records an agent action on a data app (the generative app execution primitive; apps are first-class rows in the apps table). textql.rpc.public.cells.AppInfo: type: object properties: id: type: string title: id name: type: string title: name description: type: string title: description nullable: true status: type: string title: status description: '"draft" or "published" (derived from published_at)' creatorId: type: string title: creator_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' refreshedAt: title: refreshed_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' publishedAt: title: published_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: AppInfo additionalProperties: false textql.rpc.public.cells.BashCell: type: object properties: script: type: string title: script stdout: type: string title: stdout stderr: type: string title: stderr exitCode: type: integer title: exit_code format: int32 title: BashCell additionalProperties: false textql.rpc.public.cells.ChartReference: type: object properties: name: type: string title: name description: Internal filename (e.g. echarts_chart_.html) url: type: string title: url description: Backwards-compat alias for html_url htmlUrl: type: string title: html_url description: s3 URL of the interactive HTML page pngUrl: type: string title: png_url description: s3 URL of the rasterised PNG screenshot title: type: string title: title description: Human-readable title from the chart's option spec specUrl: type: string title: spec_url description: s3 URL of the declarative ECharts option JSON sidecar; empty when the chart uses JsCode and is HTML-only title: ChartReference additionalProperties: false description: |- ChartReference points to an interactive HTML chart produced by sandbox code via the python cell's chart library (currently pyecharts). The chart is a self-contained HTML page (`html_url`) that loads its JS chart library from a same-origin self-hosted asset; the FE iframes this URL. A PNG rasterisation (`png_url`) is produced by the existing HTML→PNG screenshot service for the LLM's vision review, the in-chat PreviewCell thumbnail, downloads, and any non-JS surface. textql.rpc.public.cells.Citation: type: object properties: id: type: string title: id claim: type: string title: claim sourceCellId: type: string title: source_cell_id nullable: true sourceRef: type: string title: source_ref nullable: true sourceLocator: type: string title: source_locator nullable: true anchor: type: string title: anchor quotedText: type: string title: quoted_text nullable: true rationale: type: string title: rationale nullable: true lineage: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.CitationLineageNode' title: lineage title: Citation additionalProperties: false textql.rpc.public.cells.CitationLineageNode: type: object properties: cellId: type: string title: cell_id kind: type: string title: kind description: '"sql" | "python"' dataframeName: type: string title: dataframe_name description: Produced dataframe name, if applicable nullable: true connectorId: type: integer title: connector_id format: int32 description: 'SQL only: connector ID; display name resolves client-side' nullable: true tables: type: array items: type: string title: tables description: 'SQL only: referenced tables' inputCellIds: type: array items: type: string title: input_cell_ids description: upstream cell(s), for graph lineage title: CitationLineageNode additionalProperties: false textql.rpc.public.cells.CompactionCell: type: object properties: content: type: string title: content executedPython: type: boolean title: executed_python pythonCells: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.PythonCell' title: python_cells title: CompactionCell additionalProperties: false textql.rpc.public.cells.ConnectorRef: type: object properties: id: type: integer title: id format: int32 name: type: string title: name type: type: string title: type title: ConnectorRef additionalProperties: false description: Reference types for context data textql.rpc.public.cells.ConnectorsCell: type: object properties: action: type: string title: action description: list | get totalCount: type: integer title: total_count format: int32 title: ConnectorsCell additionalProperties: false description: |- ConnectorsCell is the agent-only "connectors" inspect tool. The frontend only shows that the tool ran (and a count); connector detail goes to the LLM, never to the browser, and never carries secrets. textql.rpc.public.cells.ContextPromptChangeStatus: type: string title: ContextPromptChangeStatus enum: - STATUS_UNKNOWN - STATUS_DRAFT - STATUS_PENDING - STATUS_REJECTED - STATUS_APPLIED textql.rpc.public.cells.ContextPromptEditorAction: type: string title: ContextPromptEditorAction enum: - ACTION_UNKNOWN - ACTION_GET - ACTION_PROPOSE - ACTION_CREATE textql.rpc.public.cells.ContextPromptEditorCell: type: object properties: action: title: action $ref: '#/components/schemas/textql.rpc.public.cells.ContextPromptEditorAction' currentContext: type: string title: current_context nullable: true proposedContext: type: string title: proposed_context nullable: true diff: type: string title: diff nullable: true status: title: status $ref: '#/components/schemas/textql.rpc.public.cells.ContextPromptChangeStatus' errorMessage: type: string title: error_message nullable: true contextId: type: string title: context_id nullable: true title: ContextPromptEditorCell additionalProperties: false textql.rpc.public.cells.DashboardAction: type: string title: DashboardAction enum: - DASHBOARD_ACTION_UNKNOWN - DASHBOARD_ACTION_CREATE - DASHBOARD_ACTION_UPDATE - DASHBOARD_ACTION_PUBLISH textql.rpc.public.cells.DashboardCell: type: object properties: name: type: string title: name dashboardId: type: string title: dashboard_id code: type: string title: code dataSources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: data_sources errorMessage: type: string title: error_message nullable: true screenshotUrl: type: string title: screenshot_url nullable: true lastRunAt: type: string title: last_run_at nullable: true action: title: action $ref: '#/components/schemas/textql.rpc.public.cells.DashboardAction' type: type: string title: type description: 'Dashboard type: "streamlit" or "dash"' nullable: true updatedAt: title: updated_at description: Last update timestamp nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: DashboardCell additionalProperties: false textql.rpc.public.cells.DashboardInfo: type: object properties: id: type: string title: id name: type: string title: name description: type: string title: description nullable: true status: type: string title: status creatorId: type: string title: creator_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' refreshedAt: title: refreshed_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: DashboardInfo additionalProperties: false textql.rpc.public.cells.DateRange: type: string title: DateRange enum: - RANGE_UNKNOWN - RANGE_ALL - RANGE_PAST_DAY - RANGE_PAST_WEEK - RANGE_PAST_MONTH - RANGE_PAST_YEAR textql.rpc.public.cells.DocumentCell: type: object properties: name: type: string title: name url: type: string title: url preview: type: string title: preview datasetSourceId: type: string title: dataset_source_id pageCount: type: integer title: page_count format: int32 title: DocumentCell additionalProperties: false textql.rpc.public.cells.EditableForm: type: object properties: formName: type: string title: form_name fields: title: fields $ref: '#/components/schemas/google.protobuf.Struct' status: title: status $ref: '#/components/schemas/textql.rpc.public.cells.EditableFormStatus' id: type: string title: id submitError: type: string title: submit_error nullable: true submitResult: type: string title: submit_result nullable: true validationError: type: string title: validation_error nullable: true title: EditableForm additionalProperties: false textql.rpc.public.cells.EditableFormStatus: type: string title: EditableFormStatus enum: - EDITABLE_FORM_STATUS_UNKNOWN - EDITABLE_FORM_STATUS_DRAFT - EDITABLE_FORM_STATUS_MODIFIED - EDITABLE_FORM_STATUS_SUBMITTING - EDITABLE_FORM_STATUS_SUBMITTED - EDITABLE_FORM_STATUS_REJECTED textql.rpc.public.cells.EmailAttachment: type: object properties: filename: type: string title: filename bytes: type: - integer - string title: bytes format: int64 title: EmailAttachment additionalProperties: false description: EmailAttachment is delivered-attachment metadata surfaced to the frontend textql.rpc.public.cells.EmailCell: type: object properties: to: type: array items: type: string title: to description: Inputs (set by the LLM at cell creation time) subject: type: string title: subject body: type: string title: body description: markdown — rendered to HTML at send time recipients: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.EmailRecipient' title: recipients description: Resolved recipients after internal-only enforcement status: type: string title: status description: Result fields (populated by Execute) "sent" | "failed" | "blocked" sentAt: type: string title: sent_at nullable: true messageId: type: string title: message_id nullable: true errorMessage: type: string title: error_message nullable: true errorClass: type: string title: error_class description: machine-readable error category nullable: true sentCount: type: integer title: sent_count format: int32 description: |- Number of recipients to which the provider call succeeded during this Execute pass. Not derivable from Status — a partial-failure cell has Status=failed with sent_count > 0. renderedBodyHtml: type: string title: rendered_body_html description: |- The rendered HTML body of the email — exactly what landed in inboxes, including the actor signature footer. The frontend's EmailCell renders this verbatim via {@html ...} in its preview, so a viewer sees what recipients saw without the FE having to repeat the render pipeline. Already sanitized server-side (sanitizeEmailHTML) and self-contained for inline use within the chat thread. nullable: true attachments: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.EmailAttachment' title: attachments title: EmailCell additionalProperties: false description: |- EmailCell is the agent's "send an email" output. It is an executable cell: the LLM emits the input (to/subject/body) and the framework executes the send, mutating the result fields. The cell renders as a transcript ("Email sent to maya@acme.com at 2:14pm") with the body visible after the fact. textql.rpc.public.cells.EmailRecipient: type: object properties: address: type: string title: address class: type: string title: class description: '"internal" or "external"' memberId: type: string title: member_id description: populated when class == "internal" nullable: true displayName: type: string title: display_name nullable: true title: EmailRecipient additionalProperties: false description: |- EmailRecipient is one resolved recipient of an EmailCell. The frontend renders these as chips; the backend uses the resolution to enforce the internal-only policy at cell creation time. textql.rpc.public.cells.ExaSearchResult: type: object properties: title: type: string title: title url: type: string title: url text: type: string title: text author: type: string title: author publishedDate: type: string title: published_date favicon: type: string title: favicon image: type: string title: image score: type: number title: score format: double highlights: type: array items: type: string title: highlights highlightScores: type: array items: type: number format: double title: highlight_scores summary: type: string title: summary title: ExaSearchResult additionalProperties: false textql.rpc.public.cells.FeedAgentAction: type: string title: FeedAgentAction enum: - FEED_AGENT_ACTION_UNKNOWN - FEED_AGENT_ACTION_CREATE - FEED_AGENT_ACTION_UPDATE textql.rpc.public.cells.FeedAgentInfo: type: object properties: id: type: string title: id name: type: string title: name prompt: type: string title: prompt isActive: type: boolean title: is_active createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' paradigmOptions: title: paradigm_options nullable: true $ref: '#/components/schemas/textql.rpc.public.paradigm.ParadigmOptions' connectorIds: type: array items: type: integer format: int32 title: connector_ids llmModel: title: llm_model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' fastMode: type: boolean title: fast_mode nullable: true postingFrequencyCrons: type: array items: type: string title: posting_frequency_crons feedEnabled: type: boolean title: feed_enabled isStateful: type: boolean title: is_stateful callableAsSubagent: type: boolean title: callable_as_subagent slackChannel: type: string title: slack_channel nullable: true teamsChannel: type: string title: teams_channel nullable: true emailRecipientCount: type: integer title: email_recipient_count format: int32 emailRecipients: type: array items: type: string title: email_recipients title: FeedAgentInfo additionalProperties: false textql.rpc.public.cells.FeedCommentCell: type: object properties: postId: type: string title: post_id content: type: string title: content commentId: type: string title: comment_id commentUrl: type: string title: comment_url timestamp: type: string title: timestamp error: type: string title: error postTitle: type: string title: post_title description: Parent post metadata postAuthor: type: string title: post_author postUpvoteCount: type: integer title: post_upvote_count format: int32 postDownvoteCount: type: integer title: post_downvote_count format: int32 title: FeedCommentCell additionalProperties: false textql.rpc.public.cells.FeedCreateCell: type: object properties: action: title: action $ref: '#/components/schemas/textql.rpc.public.cells.FeedAgentAction' agent: title: agent nullable: true $ref: '#/components/schemas/textql.rpc.public.cells.FeedAgentInfo' errorMessage: type: string title: error_message nullable: true updatedFields: type: array items: type: string title: updated_fields fieldChanges: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.FieldChange' title: field_changes connectors: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.ConnectorRef' title: connectors title: FeedCreateCell additionalProperties: false textql.rpc.public.cells.FeedEngageCell: type: object properties: thingId: type: string title: thing_id voteType: type: string title: vote_type upvoteCount: type: integer title: upvote_count format: int32 downvoteCount: type: integer title: downvote_count format: int32 timestamp: type: string title: timestamp error: type: string title: error url: type: string title: url thingTitle: type: string title: thing_title description: Title/preview of the post or comment that was voted on title: FeedEngageCell additionalProperties: false textql.rpc.public.cells.FeedExplorerCell: type: object properties: operation: type: string title: operation description: '"get_feed", "get_post", "get_comments"' postId: type: string title: post_id nullable: true filter: type: string title: filter nullable: true limit: type: integer title: limit format: int32 nullable: true result: type: string title: result description: JSON-serialized result channelId: type: string title: channel_id description: when set, get results for specific feed channel nullable: true title: FeedExplorerCell additionalProperties: false textql.rpc.public.cells.FeedPostCell: type: object properties: title: type: string title: title content: type: string title: content imageUrls: type: array items: type: string title: image_urls dashboardIds: type: array items: type: string title: dashboard_ids reportIds: type: array items: type: string title: report_ids chatIds: type: array items: type: string title: chat_ids postId: type: string title: post_id postUrl: type: string title: post_url timestamp: type: string title: timestamp error: type: string title: error mentionedMemberIds: type: array items: type: string title: mentioned_member_ids mentionedAgentIds: type: array items: type: string title: mentioned_agent_ids title: FeedPostCell additionalProperties: false textql.rpc.public.cells.FieldChange: type: object properties: fieldName: type: string title: field_name oldValue: type: string title: old_value newValue: type: string title: new_value title: FieldChange additionalProperties: false description: |- Represents a before/after change to a field during an update. Used by both PlaybookEditorCell and FeedCreateCell. textql.rpc.public.cells.FileReference: type: object properties: name: type: string title: name url: type: string title: url fileType: type: string title: file_type title: FileReference additionalProperties: false textql.rpc.public.cells.FormCell: type: object properties: action: type: string title: action description: list | info | create | edit | view | update | test formId: type: string title: form_id nullable: true formType: type: string title: form_type description: cached for inline display (e.g. "connector") nullable: true status: type: string title: status description: cached submission status (draft|submitting|submitted|rejected) nullable: true testStatus: type: string title: test_status description: cached test status (not_run|running|passed|failed) nullable: true name: type: string title: name nullable: true approvalOutcome: type: string title: approval_outcome description: 'ask_approval outcome once the user acts: submitted | submit_failed | rejected | changes_requested.' nullable: true testMessage: type: string title: test_message description: this test's result message (shown by the test row) nullable: true title: FormCell additionalProperties: false description: |- FormCell is the v2 form editor cell. It only references a form_v5 row by id; the frontend loads the full form via FormService (no chat-cell scanning). The cached fields let the inline chat cell render without a round-trip. textql.rpc.public.cells.FormEditorAction: type: string title: FormEditorAction enum: - FORM_EDITOR_ACTION_UNKNOWN - FORM_EDITOR_ACTION_INFO - FORM_EDITOR_ACTION_VIEW - FORM_EDITOR_ACTION_CREATE - FORM_EDITOR_ACTION_UPDATE textql.rpc.public.cells.FormEditorCell: type: object properties: action: title: action $ref: '#/components/schemas/textql.rpc.public.cells.FormEditorAction' formSnapshot: title: form_snapshot nullable: true $ref: '#/components/schemas/textql.rpc.public.cells.EditableForm' form: title: form nullable: true $ref: '#/components/schemas/textql.rpc.public.cells.EditableForm' formId: type: string title: form_id nullable: true title: FormEditorCell additionalProperties: false textql.rpc.public.cells.GmailEmailContentCell: type: object properties: emailId: type: string title: email_id nullable: true subject: type: string title: subject nullable: true sender: type: string title: sender nullable: true syntheticToolUseId: type: string title: synthetic_tool_use_id nullable: true title: GmailEmailContentCell additionalProperties: false textql.rpc.public.cells.GmailEmailSearchCell: type: object properties: emailCount: type: integer title: email_count format: int32 emailSummary: type: string title: email_summary nullable: true syntheticToolUseId: type: string title: synthetic_tool_use_id nullable: true title: GmailEmailSearchCell additionalProperties: false textql.rpc.public.cells.GoogleCalendarSearchCell: type: object properties: eventCount: type: integer title: event_count format: int32 eventSummary: type: string title: event_summary nullable: true syntheticToolUseId: type: string title: synthetic_tool_use_id nullable: true title: GoogleCalendarSearchCell additionalProperties: false textql.rpc.public.cells.GoogleDriveContentCell: type: object properties: fileName: type: string title: file_name nullable: true contentType: type: string title: content_type nullable: true content: type: string title: content nullable: true fileId: type: string title: file_id nullable: true errorMessage: type: string title: error_message nullable: true title: GoogleDriveContentCell additionalProperties: false textql.rpc.public.cells.GoogleDriveFile: type: object properties: id: type: string title: id name: type: string title: name mimeType: type: string title: mime_type size: type: - integer - string title: size format: int64 nullable: true modifiedTime: type: string title: modified_time nullable: true webViewLink: type: string title: web_view_link nullable: true title: GoogleDriveFile additionalProperties: false textql.rpc.public.cells.GoogleDriveSearchCell: type: object properties: files: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.GoogleDriveFile' title: files dataframePreview: type: string title: dataframe_preview nullable: true errorMessage: type: string title: error_message nullable: true fileCount: type: integer title: file_count format: int32 title: GoogleDriveSearchCell additionalProperties: false textql.rpc.public.cells.ImageCell: type: object properties: name: type: string title: name url: type: string title: url mimeType: type: string title: mime_type width: type: integer title: width format: int32 height: type: integer title: height format: int32 sizeBytes: type: - integer - string title: size_bytes format: int64 datasetSourceId: type: string title: dataset_source_id altText: type: string title: alt_text caption: type: string title: caption title: ImageCell additionalProperties: false textql.rpc.public.cells.ImageReference: type: object properties: name: type: string title: name url: type: string title: url title: ImageReference additionalProperties: false textql.rpc.public.cells.JavaScriptCell: type: object properties: code: type: string title: code title: type: string title: title files: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.FileReference' title: files images: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.ImageReference' title: images stdout: type: string title: stdout title: JavaScriptCell additionalProperties: false textql.rpc.public.cells.LinkedinSearchCell: type: object properties: query: type: string title: query exaResults: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.ExaSearchResult' title: exa_results costDollars: type: number title: cost_dollars format: double nullable: true executionTimeMs: type: - integer - string title: execution_time_ms format: int64 nullable: true title: LinkedinSearchCell additionalProperties: false textql.rpc.public.cells.ListAppsCell: type: object properties: searchTerm: type: string title: search_term description: create | edit appId: type: string title: app_id totalCount: type: integer title: total_count format: int32 errorMessage: type: string title: error_message description: in-product viewer route nullable: true apps: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.AppInfo' title: apps title: ListAppsCell additionalProperties: false description: 'create_design_system tool: authors/edits an org Data App design system.' textql.rpc.public.cells.ListDashboardsCell: type: object properties: searchTerm: type: string title: search_term dashboardId: type: string title: dashboard_id description: Set for single-dashboard lookup totalCount: type: integer title: total_count format: int32 sandboxAvailable: type: boolean title: sandbox_available errorMessage: type: string title: error_message nullable: true dashboards: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.DashboardInfo' title: dashboards title: ListDashboardsCell additionalProperties: false textql.rpc.public.cells.ListUsersCell: type: object properties: searchTerm: type: string title: search_term userType: type: string title: user_type description: '"all", "bots", or "humans"' totalCount: type: integer title: total_count format: int32 sandboxAvailable: type: boolean title: sandbox_available errorMessage: type: string title: error_message nullable: true agents: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.AgentInfo' title: agents title: ListUsersCell additionalProperties: false textql.rpc.public.cells.MCPToolCell: type: object properties: serverName: type: string title: server_name toolName: type: string title: tool_name argumentsJson: type: string title: arguments_json contentJson: type: string title: content_json nullable: true isError: type: boolean title: is_error nullable: true errorMessage: type: string title: error_message nullable: true executionTimeMs: type: - integer - string title: execution_time_ms format: int64 nullable: true authRequired: type: boolean title: auth_required nullable: true authCompleted: type: boolean title: auth_completed nullable: true authServerId: type: string title: auth_server_id nullable: true authServerName: type: string title: auth_server_name nullable: true title: MCPToolCell additionalProperties: false textql.rpc.public.cells.MarkdownCell: type: object properties: content: type: string title: content renderedHtml: type: string title: rendered_html citations: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.Citation' title: citations title: MarkdownCell additionalProperties: false textql.rpc.public.cells.MetricsCell: type: object properties: query: type: string title: query dataset: type: string title: dataset ontologyId: type: integer title: ontology_id format: int32 dataframe: title: dataframe $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameWithInfo' dataframePreview: type: string title: dataframe_preview generatedSql: type: string title: generated_sql queryId: type: string title: query_id errorMessage: type: string title: error_message title: MetricsCell additionalProperties: false textql.rpc.public.cells.Microsoft365CalendarCell: type: object properties: eventCount: type: integer title: event_count format: int32 eventSummary: type: string title: event_summary nullable: true syntheticToolUseId: type: string title: synthetic_tool_use_id nullable: true title: Microsoft365CalendarCell additionalProperties: false textql.rpc.public.cells.Microsoft365EmailContentCell: type: object properties: emailId: type: string title: email_id nullable: true subject: type: string title: subject nullable: true sender: type: string title: sender nullable: true syntheticToolUseId: type: string title: synthetic_tool_use_id nullable: true title: Microsoft365EmailContentCell additionalProperties: false textql.rpc.public.cells.Microsoft365EmailSearchCell: type: object properties: emailCount: type: integer title: email_count format: int32 emailSummary: type: string title: email_summary nullable: true syntheticToolUseId: type: string title: synthetic_tool_use_id nullable: true title: Microsoft365EmailSearchCell additionalProperties: false textql.rpc.public.cells.OntologyEditorAction: type: string title: OntologyEditorAction enum: - ONTOLOGY_ACTION_UNKNOWN - ONTOLOGY_ACTION_LIST - ONTOLOGY_ACTION_OBJECT - ONTOLOGY_ACTION_LINK - ONTOLOGY_ACTION_ATTRIBUTE - ONTOLOGY_ACTION_METRIC textql.rpc.public.cells.OntologyEditorCell: type: object properties: action: title: action $ref: '#/components/schemas/textql.rpc.public.cells.OntologyEditorAction' listType: title: list_type nullable: true $ref: '#/components/schemas/textql.rpc.public.cells.OntologyEditorListType' operation: title: operation nullable: true $ref: '#/components/schemas/textql.rpc.public.cells.OntologyEditorOperation' status: title: status $ref: '#/components/schemas/textql.rpc.public.cells.OntologyEditorStatus' listFilter: title: list_filter description: For list operations nullable: true $ref: '#/components/schemas/textql.rpc.public.cells.OntologyEditorListFilter' listCount: type: integer title: list_count format: int32 description: Number of items returned by list operation nullable: true listObjects: type: array items: $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyObject' title: list_objects listAttributes: type: array items: $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyAttribute' title: list_attributes listRelations: type: array items: $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyRelation' title: list_relations listMetrics: type: array items: $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyMetric' title: list_metrics createdObject: title: created_object description: For object operations nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyObject' createdAttributes: type: array items: $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyAttribute' title: created_attributes updatedObject: title: updated_object nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyObject' deletedObject: title: deleted_object nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyObject' createdAttribute: title: created_attribute description: For attribute operations nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyAttribute' updatedAttribute: title: updated_attribute nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyAttribute' deletedAttribute: title: deleted_attribute nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyAttribute' createdLink: title: created_link description: For link operations nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyRelation' updatedLink: title: updated_link nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyRelation' deletedLink: title: deleted_link nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyRelation' createdMetric: title: created_metric description: For metric operations nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyMetric' updatedMetric: title: updated_metric nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyMetric' deletedMetric: title: deleted_metric nullable: true $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyMetric' title: OntologyEditorCell additionalProperties: false textql.rpc.public.cells.OntologyEditorListFilter: type: object properties: objectId: type: string title: object_id nullable: true title: OntologyEditorListFilter additionalProperties: false textql.rpc.public.cells.OntologyEditorListType: type: string title: OntologyEditorListType enum: - LIST_TYPE_UNKNOWN - LIST_TYPE_OBJECTS - LIST_TYPE_LINKS - LIST_TYPE_ATTRIBUTES - LIST_TYPE_METRICS textql.rpc.public.cells.OntologyEditorOperation: type: string title: OntologyEditorOperation enum: - OPERATION_UNKNOWN - OPERATION_CREATE - OPERATION_UPDATE - OPERATION_DELETE textql.rpc.public.cells.OntologyEditorStatus: type: string title: OntologyEditorStatus enum: - ONTOLOGY_STATUS_UNKNOWN - ONTOLOGY_STATUS_DRAFT - ONTOLOGY_STATUS_APPLIED - ONTOLOGY_STATUS_REJECTED - ONTOLOGY_STATUS_ERROR textql.rpc.public.cells.OntologyMetricSearchMatch: type: object properties: metricId: type: string title: metric_id metricName: type: string title: metric_name metricDescription: type: string title: metric_description metricAggregation: type: string title: metric_aggregation objectId: type: string title: object_id objectName: type: string title: object_name title: OntologyMetricSearchMatch additionalProperties: false textql.rpc.public.cells.OntologyObjectDimensionLite: type: object properties: dimensionId: type: string title: dimension_id dimensionName: type: string title: dimension_name dimensionDescription: type: string title: dimension_description dimensionType: type: string title: dimension_type title: OntologyObjectDimensionLite additionalProperties: false textql.rpc.public.cells.OntologyObjectMetricLite: type: object properties: metricId: type: string title: metric_id metricName: type: string title: metric_name metricDescription: type: string title: metric_description metricAggregation: type: string title: metric_aggregation title: OntologyObjectMetricLite additionalProperties: false textql.rpc.public.cells.OntologyOpenObjectCell: type: object properties: requestedObject: type: string title: requested_object ontologyId: type: integer title: ontology_id format: int32 objectId: type: string title: object_id objectName: type: string title: object_name objectDescription: type: string title: object_description nullable: true dimensionCount: type: integer title: dimension_count format: int32 dimensionReturnedCount: type: integer title: dimension_returned_count format: int32 metricCount: type: integer title: metric_count format: int32 metricReturnedCount: type: integer title: metric_returned_count format: int32 dimensionsTruncated: type: boolean title: dimensions_truncated metricsTruncated: type: boolean title: metrics_truncated dimensions: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.OntologyObjectDimensionLite' title: dimensions metrics: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.OntologyObjectMetricLite' title: metrics title: OntologyOpenObjectCell additionalProperties: false textql.rpc.public.cells.OntologyQueryCell: type: object properties: action: type: string title: action description: input "inspect" | "render" | "execute" path: type: string title: path paramsJson: type: string title: params_json description: JSON-encoded map of param name → value connectorId: type: integer title: connector_id format: int32 nullable: true declaredParams: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.OntologyQueryParam' title: declared_params description: result sql: type: string title: sql usedConnectorId: type: integer title: used_connector_id format: int32 nullable: true dataframe: title: dataframe $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameWithInfo' dataframePreview: type: string title: dataframe_preview authRequired: type: boolean title: auth_required description: auth hold authConnectorName: type: string title: auth_connector_name authLocator: type: string title: auth_locator authClientId: type: string title: auth_client_id authRole: type: string title: auth_role authCompleted: type: boolean title: auth_completed authConnectorType: title: auth_connector_type $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorType' authWorkspaceUrl: type: string title: auth_workspace_url nullable: true title: OntologyQueryCell additionalProperties: false textql.rpc.public.cells.OntologyQueryParam: type: object properties: name: type: string title: name type: type: string title: type nullable: type: boolean title: nullable description: type: string title: description nullable: true defaultValue: type: string title: default_value nullable: true title: OntologyQueryParam additionalProperties: false textql.rpc.public.cells.OntologySearchMetricsCell: type: object properties: query: type: string title: query ontologyId: type: integer title: ontology_id format: int32 matchCount: type: integer title: match_count format: int32 returnedCount: type: integer title: returned_count format: int32 truncated: type: boolean title: truncated matches: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.OntologyMetricSearchMatch' title: matches title: OntologySearchMetricsCell additionalProperties: false textql.rpc.public.cells.OrgMemberRef: type: object properties: email: type: string title: email name: type: string title: name title: OrgMemberRef additionalProperties: false textql.rpc.public.cells.PatchCell: type: object properties: title: type: string title: title description: type: string title: description number: type: integer title: number format: int32 hasConflicts: type: boolean title: has_conflicts conflictView: type: string title: conflict_view status: title: status $ref: '#/components/schemas/textql.rpc.public.patches.PatchStatus' diffs: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.PatchDiff' title: diffs patchId: type: string title: patch_id gitRef: type: string title: git_ref autoApproved: type: boolean title: auto_approved autoApprovedRuleDirectory: type: string title: auto_approved_rule_directory title: PatchCell additionalProperties: false textql.rpc.public.cells.PlaybookEditorAction: type: string title: PlaybookEditorAction enum: - PLAYBOOK_ACTION_UNKNOWN - PLAYBOOK_ACTION_LIST - PLAYBOOK_ACTION_GET - PLAYBOOK_ACTION_CREATE - PLAYBOOK_ACTION_UPDATE - PLAYBOOK_ACTION_RUN textql.rpc.public.cells.PlaybookEditorCell: type: object properties: action: title: action $ref: '#/components/schemas/textql.rpc.public.cells.PlaybookEditorAction' playbooks: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.PlaybookInfo' title: playbooks description: results errorMessage: type: string title: error_message nullable: true totalCount: type: integer title: total_count format: int32 slackChannels: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.SlackChannelRef' title: slack_channels slackUsers: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.SlackUserRef' title: slack_users connectors: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.ConnectorRef' title: connectors orgMembers: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.OrgMemberRef' title: org_members hasSlack: type: boolean title: has_slack fieldChanges: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.FieldChange' title: field_changes teamsChannels: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.TeamsChannelRef' title: teams_channels teamsUsers: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.TeamsUserRef' title: teams_users hasTeams: type: boolean title: has_teams title: PlaybookEditorCell additionalProperties: false textql.rpc.public.cells.PlaybookInfo: type: object properties: id: type: string title: id name: type: string title: name prompt: type: string title: prompt ownerId: type: string title: owner_id ownerEmail: type: string title: owner_email createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' cronString: type: string title: cron_string datasets: type: array items: $ref: '#/components/schemas/textql.rpc.public.dataset.Dataset' title: datasets emailAddresses: type: array items: type: string title: email_addresses slackChannelId: type: string title: slack_channel_id nullable: true taggedSlackUserIds: type: array items: type: string title: tagged_slack_user_ids status: title: status $ref: '#/components/schemas/textql.rpc.public.cells.PlaybookStatusLight' connectorId: type: integer title: connector_id format: int32 description: 'Deprecated: use connector_ids instead' nullable: true deprecated: true paradigmType: title: paradigm_type nullable: true $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmType' reportOutputStyle: title: report_output_style nullable: true $ref: '#/components/schemas/textql.rpc.public.cells.PlaybookReportStyleLight' isSubscribed: type: boolean title: is_subscribed connectorIds: type: array items: type: integer format: int32 title: connector_ids teamsChannelId: type: string title: teams_channel_id nullable: true taggedTeamsUserAadIds: type: array items: type: string title: tagged_teams_user_aad_ids title: PlaybookInfo additionalProperties: false description: Simplified playbook info for display in cells textql.rpc.public.cells.PlaybookReportStyleLight: type: string title: PlaybookReportStyleLight enum: - REPORT_STYLE_LIGHT_UNKNOWN - REPORT_STYLE_LIGHT_EXECUTIVE - REPORT_STYLE_LIGHT_VERBOSE - REPORT_STYLE_LIGHT_CONCISE description: |- Playbook report output style - matches parseReportStyle in playbook_helpers.go REPORT_STYLE_EXECUTIVE = "Executive_Report" or "Executive" REPORT_STYLE_VERBOSE = "Verbose" or "Thorough" REPORT_STYLE_CONCISE = "Concise" or "Brief" textql.rpc.public.cells.PlaybookStatusLight: type: string title: PlaybookStatusLight enum: - PLAYBOOK_STATUS_UNKNOWN - PLAYBOOK_STATUS_ACTIVE - PLAYBOOK_STATUS_INACTIVE description: 'TODO(joseph): Clean up base enums // messages etc.' textql.rpc.public.cells.PowerBICell: type: object properties: datasetId: type: string title: dataset_id reportIds: type: array items: type: string title: report_ids powerbiDatasetIds: type: array items: type: string title: powerbi_dataset_ids messageBlocks: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.PowerBIMessageBlock' title: message_blocks title: PowerBICell additionalProperties: false textql.rpc.public.cells.PowerBIDAXCell: type: object properties: datasetId: type: string title: dataset_id daxQuery: type: string title: dax_query dataframe: title: dataframe $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameWithInfo' dataframePreview: type: string title: dataframe_preview authRequired: type: boolean title: auth_required authConnectorName: type: string title: auth_connector_name authConnectorId: type: integer title: auth_connector_id format: int32 authTenantId: type: string title: auth_tenant_id authClientId: type: string title: auth_client_id authCompleted: type: boolean title: auth_completed title: PowerBIDAXCell additionalProperties: false textql.rpc.public.cells.PowerBIMessageBlock: type: object properties: content: type: string title: content imageBase64: type: string title: image_base64 title: PowerBIMessageBlock additionalProperties: false textql.rpc.public.cells.PreviewCell: type: object properties: target: type: string title: target previewType: type: string title: preview_type description: '"image", "table", "pdf", "html", "dataframe", "download"' name: type: string title: name url: type: string title: url nullable: true content: type: string title: content nullable: true error: type: string title: error nullable: true title: PreviewCell additionalProperties: false description: primary interface for ana to render sandbox assets client side textql.rpc.public.cells.PreviewCellRef: type: object properties: target: type: string title: target previewType: type: string title: preview_type name: type: string title: name url: type: string title: url nullable: true title: PreviewCellRef additionalProperties: false description: Preview cell reference for report history textql.rpc.public.cells.PythonCell: type: object properties: code: type: string title: code output: type: array items: type: string title: output dataframeInfo: type: array items: $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameInfo' title: dataframe_info dataframePreview: type: array items: type: string title: dataframe_preview images: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.ImageReference' title: images files: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.FileReference' title: files htmlScreenshots: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.ImageReference' title: html_screenshots charts: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.ChartReference' title: charts authRequired: type: boolean title: auth_required description: Per-member API OAuth auth hold fields authApiAccessKeyId: type: string title: auth_api_access_key_id authProviderName: type: string title: auth_provider_name authCompleted: type: boolean title: auth_completed authMember: type: string title: auth_member authPermissionRequired: type: boolean title: auth_permission_required authGrantType: type: string title: auth_grant_type executionTimeMs: type: - integer - string title: execution_time_ms format: int64 nullable: true title: PythonCell additionalProperties: false textql.rpc.public.cells.QuestionAnswer: type: object properties: selected: type: array items: type: string title: selected description: chosen option names custom: type: string title: custom description: free-text entered for the "Other" option nullable: true inputs: type: array items: type: string title: inputs description: value per input (sensitive values blanked in the broadcast) provided: type: array items: type: boolean title: provided description: 'per input: was it filled? lets the summary show provided/empty for sensitive inputs without their value' title: QuestionAnswer additionalProperties: false textql.rpc.public.cells.QuestionInput: type: object properties: kind: title: kind $ref: '#/components/schemas/textql.rpc.public.cells.QuestionInputKind' label: type: string title: label explanation: type: string title: explanation nullable: true sensitive: type: boolean title: sensitive description: 'formfield inputs: the value is never shown to the agent' formPathLabel: type: string title: form_path_label description: pretty destination path, for the user to verify nullable: true title: QuestionInput additionalProperties: false textql.rpc.public.cells.QuestionInputKind: type: string title: QuestionInputKind enum: - QUESTION_INPUT_KIND_UNKNOWN - QUESTION_INPUT_KIND_TEXT - QUESTION_INPUT_KIND_FORMFIELD - QUESTION_INPUT_KIND_MULTILINE textql.rpc.public.cells.QuestionKind: type: string title: QuestionKind enum: - QUESTION_KIND_UNKNOWN - QUESTION_KIND_CHOICE - QUESTION_KIND_MULTICHOICE - QUESTION_KIND_INPUTS textql.rpc.public.cells.QuestionOption: type: object properties: name: type: string title: name description: type: string title: description description: short gray subtitle, max one line nullable: true explanation: type: string title: explanation description: longer hover tooltip nullable: true title: QuestionOption additionalProperties: false textql.rpc.public.cells.QuestionSpec: type: object properties: question: type: string title: question explanation: type: string title: explanation nullable: true kind: title: kind $ref: '#/components/schemas/textql.rpc.public.cells.QuestionKind' options: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.QuestionOption' title: options description: choice / multichoice allowCustom: type: boolean title: allow_custom description: adds a free-text "Other" option inputs: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.QuestionInput' title: inputs description: inputs title: QuestionSpec additionalProperties: false textql.rpc.public.cells.QuestionsCell: type: object properties: status: title: status $ref: '#/components/schemas/textql.rpc.public.cells.QuestionsStatus' questions: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.QuestionSpec' title: questions answers: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.QuestionAnswer' title: answers description: prefill (pending) / summary (answered); sensitive values blanked answeredCount: type: integer title: answered_count format: int32 title: QuestionsCell additionalProperties: false description: |- QuestionsCell is the agent's "ask the user structured questions" tool. It is a haltable cell: the agent pauses until the user submits or dismisses inline. On submit the answers go to the agent; on dismiss only the answered count does and the agent waits for the user's next message (the dismissal reason). textql.rpc.public.cells.QuestionsStatus: type: string title: QuestionsStatus enum: - QUESTIONS_STATUS_UNKNOWN - QUESTIONS_STATUS_PENDING - QUESTIONS_STATUS_ANSWERED - QUESTIONS_STATUS_DISMISSED textql.rpc.public.cells.ReportCell: type: object properties: subject: type: string title: subject summary: type: string title: summary blocks: type: array items: $ref: '#/components/schemas/textql.rpc.public.reports.ReportBlock' title: blocks htmlPreview: type: string title: html_preview chatId: type: string title: chat_id reportId: type: string title: report_id title: ReportCell additionalProperties: false textql.rpc.public.cells.ReportHistoryCell: type: object properties: reports: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.ReportHistoryInfo' title: reports totalCount: type: integer title: total_count format: int32 errorMessage: type: string title: error_message nullable: true title: ReportHistoryCell additionalProperties: false textql.rpc.public.cells.ReportHistoryInfo: type: object properties: id: type: string title: id chatId: type: string title: chat_id cellId: type: string title: cell_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' subject: type: string title: subject summary: type: string title: summary blocks: type: array items: $ref: '#/components/schemas/textql.rpc.public.reports.ReportBlock' title: blocks readAt: title: read_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' previewCells: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.PreviewCellRef' title: preview_cells htmlPreview: type: string title: html_preview title: ReportHistoryInfo additionalProperties: false description: Simplified report info for report history cell textql.rpc.public.cells.SQLCell: type: object properties: query: type: string title: query connectorId: type: integer title: connector_id format: int32 dataframe: title: dataframe $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameWithInfo' dataframePreview: type: string title: dataframe_preview authRequired: type: boolean title: auth_required description: Per-member auth hold fields authConnectorName: type: string title: auth_connector_name authLocator: type: string title: auth_locator authClientId: type: string title: auth_client_id authRole: type: string title: auth_role authCompleted: type: boolean title: auth_completed authConnectorType: title: auth_connector_type $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorType' authWorkspaceUrl: type: string title: auth_workspace_url description: Databricks workspace URL for OAuth nullable: true executionTimeMs: type: - integer - string title: execution_time_ms format: int64 nullable: true agentMemory: type: boolean title: agent_memory title: SQLCell additionalProperties: false textql.rpc.public.cells.SQLReference: type: object properties: toolId: type: string title: tool_id title: SQLReference additionalProperties: false textql.rpc.public.cells.SlackChannelRef: type: object properties: channelId: type: string title: channel_id name: type: string title: name title: SlackChannelRef additionalProperties: false textql.rpc.public.cells.SlackUserRef: type: object properties: userId: type: string title: user_id name: type: string title: name title: SlackUserRef additionalProperties: false textql.rpc.public.cells.StatusCell: type: object properties: status: type: string title: status title: StatusCell additionalProperties: false description: 'Deprecated: use tool_summary on Cell instead.' textql.rpc.public.cells.StreamlitCell: type: object properties: code: type: string title: code url: type: string title: url nullable: true errorMessage: type: string title: error_message nullable: true screenshotUrl: type: string title: screenshot_url nullable: true executionTimeMs: type: - integer - string title: execution_time_ms format: int64 nullable: true title: StreamlitCell additionalProperties: false textql.rpc.public.cells.SubagentCell: type: object properties: objective: type: string title: objective subagentName: type: string title: subagent_name agentId: type: string title: agent_id nullable: true detached: type: boolean title: detached childChatId: type: string title: child_chat_id status: title: status $ref: '#/components/schemas/textql.rpc.public.cells.SubagentRunStatus' finalMessage: type: string title: final_message artifacts: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.FileReference' title: artifacts depth: type: integer title: depth format: int32 errorMessage: type: string title: error_message nullable: true executionTimeMs: type: - integer - string title: execution_time_ms format: int64 nullable: true tokensUsed: type: - integer - string title: tokens_used format: int64 nullable: true title: SubagentCell additionalProperties: false textql.rpc.public.cells.SubagentRunStatus: type: string title: SubagentRunStatus enum: - SUBAGENT_RUN_STATUS_UNKNOWN - SUBAGENT_RUN_STATUS_RUNNING - SUBAGENT_RUN_STATUS_COMPLETED - SUBAGENT_RUN_STATUS_ERROR textql.rpc.public.cells.SummaryCell: type: object properties: summary: type: string title: summary title: SummaryCell additionalProperties: false textql.rpc.public.cells.TableauCell: type: object properties: datasetId: type: string title: dataset_id messageBlocks: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.TableauMessageBlock' title: message_blocks title: TableauCell additionalProperties: false textql.rpc.public.cells.TableauMessageBlock: type: object properties: content: type: string title: content imageBase64: type: string title: image_base64 description: optional, only present for blocks with images pdfBase64: type: string title: pdf_base64 description: optional, only present for blocks with PDFs title: TableauMessageBlock additionalProperties: false textql.rpc.public.cells.TableauSQLCell: type: object properties: tableauDatasourceLuid: type: string title: tableau_datasource_luid query: type: string title: query dataframe: title: dataframe $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameWithInfo' dataframePreview: type: string title: dataframe_preview title: TableauSQLCell additionalProperties: false textql.rpc.public.cells.TableauSearchFieldsCell: type: object properties: searchTerm: type: string title: search_term resultText: type: string title: result_text title: TableauSearchFieldsCell additionalProperties: false textql.rpc.public.cells.TabularFileCell: type: object properties: fileName: type: string title: file_name category: title: category $ref: '#/components/schemas/textql.rpc.public.dataset.TabularFileCategory' dataframes: type: array items: $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameInfo' title: dataframes datasetSourceId: type: string title: dataset_source_id previewAvailable: type: boolean title: preview_available nullable: true title: TabularFileCell additionalProperties: false textql.rpc.public.cells.TeamsChannelRef: type: object properties: channelId: type: string title: channel_id name: type: string title: name title: TeamsChannelRef additionalProperties: false textql.rpc.public.cells.TeamsUserRef: type: object properties: userAadId: type: string title: user_aad_id name: type: string title: name title: TeamsUserRef additionalProperties: false textql.rpc.public.cells.TextCell: type: object properties: fileName: type: string title: file_name content: type: string title: content mimeType: type: string title: mime_type sizeBytes: type: - integer - string title: size_bytes format: int64 datasetSourceId: type: string title: dataset_source_id lineCount: type: integer title: line_count format: int32 title: TextCell additionalProperties: false textql.rpc.public.cells.ThinkingCell: type: object properties: content: type: string title: content description: summarized thinking text; empty for redacted blocks redacted: type: boolean title: redacted description: provider returned an encrypted redacted_thinking block title: ThinkingCell additionalProperties: false textql.rpc.public.cells.UseSkillCell: type: object properties: trigger: type: string title: trigger name: type: string title: name ok: type: boolean title: ok title: UseSkillCell additionalProperties: false description: |- UseSkillCell is the client projection of a `use_skill` auto-invoke. It deliberately carries no body field: the skill's instructions are LLM-facing prompt scaffolding (see compute/pkg/chat/cells/use_skill.go), never sent to the transcript. The frontend renders provenance only ("Using skill /trigger"). textql.rpc.public.cells.WebSearchCell: type: object properties: query: type: string title: query searchType: title: search_type $ref: '#/components/schemas/textql.rpc.public.cells.WebSearchType' dateRange: title: date_range $ref: '#/components/schemas/textql.rpc.public.cells.DateRange' answer: type: string title: answer nullable: true exaResults: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.ExaSearchResult' title: exa_results costDollars: type: number title: cost_dollars format: double nullable: true executionTimeMs: type: - integer - string title: execution_time_ms format: int64 nullable: true title: WebSearchCell additionalProperties: false textql.rpc.public.cells.WebSearchType: type: string title: WebSearchType enum: - TYPE_UNKNOWN - TYPE_RESEARCH - TYPE_QUESTION - TYPE_CONTENTS textql.rpc.public.chat.ApproveContextPromptChangeRequest: type: object properties: cellId: type: string title: cell_id editedContext: type: string title: edited_context title: ApproveContextPromptChangeRequest required: - cellId - editedContext additionalProperties: false textql.rpc.public.chat.ApproveContextPromptChangeResponse: type: object properties: success: type: boolean title: success message: type: string title: message description: 'range: [0, 1]' status: title: status description: Estimated LLM-token cost (USD, list model prices). LLM only. $ref: '#/components/schemas/textql.rpc.public.cells.ContextPromptChangeStatus' resumed: type: boolean title: resumed description: |- Estimated sandbox/compute cost for this chat (USD): chat sandbox-seconds → ACUs → USD at the org's effective rate. Add to estimated_cost for the thread's total cost. Requires the console rate (0/omitted if unavailable). resumeError: type: string title: resume_error description: |- The chat's sandbox id ({orgID}-{chatID}), set when the thread used any sandbox compute. Lets the UI deep-link to the sandbox detail. Empty/omitted when the thread had no sandbox usage. title: ApproveContextPromptChangeResponse additionalProperties: false textql.rpc.public.chat.ApproveOntologyChangeRequest: type: object properties: cellId: type: string title: cell_id title: ApproveOntologyChangeRequest required: - cellId additionalProperties: false description: Per-member auth resume textql.rpc.public.chat.ApproveOntologyChangeResponse: type: object properties: success: type: boolean title: success message: type: string title: message resumed: type: boolean title: resumed resumeError: type: string title: resume_error title: ApproveOntologyChangeResponse additionalProperties: false textql.rpc.public.chat.ArtifactSummary: type: object properties: id: type: string title: id name: type: string title: name type: title: type $ref: '#/components/schemas/textql.rpc.public.chat.ArtifactType' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' thumbnailUrl: type: string title: thumbnail_url nullable: true title: ArtifactSummary additionalProperties: false description: Bookmark management textql.rpc.public.chat.ArtifactType: type: string title: ArtifactType enum: - ARTIFACT_TYPE_UNKNOWN - ARTIFACT_TYPE_IMAGE - ARTIFACT_TYPE_CSV - ARTIFACT_TYPE_PDF - ARTIFACT_TYPE_HTML - ARTIFACT_TYPE_TEXT - ARTIFACT_TYPE_STREAMLIT - ARTIFACT_TYPE_DASHBOARD - ARTIFACT_TYPE_FORM - ARTIFACT_TYPE_REPORT - ARTIFACT_TYPE_AGENT - ARTIFACT_TYPE_HTML_CHART - ARTIFACT_TYPE_APP - ARTIFACT_TYPE_DASHBOARD_PREVIEW - ARTIFACT_TYPE_SKILL - ARTIFACT_TYPE_PATCH_DIFF description: Artifact types for drawer items textql.rpc.public.chat.AttachAgentToChatRequest: type: object properties: chatId: type: string title: chat_id agentId: type: string title: agent_id title: AttachAgentToChatRequest required: - chatId - agentId additionalProperties: false textql.rpc.public.chat.AttachAgentToChatResponse: type: object properties: chat: title: chat $ref: '#/components/schemas/textql.rpc.public.chat.Chat' title: AttachAgentToChatResponse additionalProperties: false textql.rpc.public.chat.AttachAppRequest: type: object properties: chatId: type: string title: chat_id appId: type: string title: app_id title: AttachAppRequest required: - chatId - appId additionalProperties: false textql.rpc.public.chat.AttachAppResponse: type: object properties: cell: title: cell $ref: '#/components/schemas/textql.rpc.public.chat.Cell' app: title: app $ref: '#/components/schemas/textql.rpc.public.app.App' title: AttachAppResponse additionalProperties: false textql.rpc.public.chat.AttachDashboardRequest: type: object properties: chatId: type: string title: chat_id dashboardId: type: string title: dashboard_id description: uses latest version title: AttachDashboardRequest required: - chatId - dashboardId additionalProperties: false textql.rpc.public.chat.AttachDashboardResponse: type: object properties: cell: title: cell $ref: '#/components/schemas/textql.rpc.public.chat.Cell' dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: AttachDashboardResponse additionalProperties: false textql.rpc.public.chat.AttachDatasetRequest: type: object properties: chatId: type: string title: chat_id datasetId: type: string title: dataset_id title: AttachDatasetRequest required: - chatId - datasetId additionalProperties: false textql.rpc.public.chat.AttachDatasetResponse: type: object properties: cell: title: cell $ref: '#/components/schemas/textql.rpc.public.chat.Cell' dataset: title: dataset $ref: '#/components/schemas/textql.rpc.public.dataset.Dataset' title: AttachDatasetResponse additionalProperties: false textql.rpc.public.chat.BookmarkChatRequest: type: object properties: chatId: type: string title: chat_id title: BookmarkChatRequest required: - chatId additionalProperties: false description: Simplified query request for external API users textql.rpc.public.chat.CancelStreamRequest: type: object properties: chatId: type: string title: chat_id title: CancelStreamRequest required: - chatId additionalProperties: false textql.rpc.public.chat.CancelStreamResponse: type: object properties: exists: type: boolean title: exists title: CancelStreamResponse additionalProperties: false textql.rpc.public.chat.Cell: type: object allOf: - type: object properties: id: type: string title: id description: UUID timestamp: title: timestamp $ref: '#/components/schemas/google.protobuf.Timestamp' complete: type: boolean title: complete generated: type: boolean title: generated description: whether it was created by a human or robot lifecycle: title: lifecycle $ref: '#/components/schemas/textql.rpc.public.chat.CellLifecycle' toolCallId: type: string title: tool_call_id nullable: true execError: type: string title: exec_error nullable: true senderMemberId: type: string title: sender_member_id nullable: true toolSummary: type: string title: tool_summary nullable: true durationMs: type: - integer - string title: duration_ms format: int64 description: LLM-generated summary of what this tool call does nullable: true - oneOf: - type: object properties: ansCell: title: ans_cell $ref: '#/components/schemas/textql.rpc.public.cells.AnswerCell' title: ans_cell required: - ansCell - type: object properties: appCell: title: app_cell $ref: '#/components/schemas/textql.rpc.public.cells.AppCell' title: app_cell required: - appCell - type: object properties: bashCell: title: bash_cell $ref: '#/components/schemas/textql.rpc.public.cells.BashCell' title: bash_cell required: - bashCell - type: object properties: compactionCell: title: compaction_cell $ref: '#/components/schemas/textql.rpc.public.cells.CompactionCell' title: compaction_cell required: - compactionCell - type: object properties: connectorsCell: title: connectors_cell $ref: '#/components/schemas/textql.rpc.public.cells.ConnectorsCell' title: connectors_cell required: - connectorsCell - type: object properties: contextPromptEditorCell: title: context_prompt_editor_cell $ref: '#/components/schemas/textql.rpc.public.cells.ContextPromptEditorCell' title: context_prompt_editor_cell required: - contextPromptEditorCell - type: object properties: dashboardCell: title: dashboard_cell $ref: '#/components/schemas/textql.rpc.public.cells.DashboardCell' title: dashboard_cell required: - dashboardCell - type: object properties: documentCell: title: document_cell $ref: '#/components/schemas/textql.rpc.public.cells.DocumentCell' title: document_cell required: - documentCell - type: object properties: emailCell: title: email_cell $ref: '#/components/schemas/textql.rpc.public.cells.EmailCell' title: email_cell required: - emailCell - type: object properties: feedCommentCell: title: feed_comment_cell $ref: '#/components/schemas/textql.rpc.public.cells.FeedCommentCell' title: feed_comment_cell required: - feedCommentCell - type: object properties: feedCreateCell: title: feed_create_cell description: 55 is tool_summary outside the oneof $ref: '#/components/schemas/textql.rpc.public.cells.FeedCreateCell' title: feed_create_cell required: - feedCreateCell - type: object properties: feedEngageCell: title: feed_engage_cell $ref: '#/components/schemas/textql.rpc.public.cells.FeedEngageCell' title: feed_engage_cell required: - feedEngageCell - type: object properties: feedExplorerCell: title: feed_explorer_cell $ref: '#/components/schemas/textql.rpc.public.cells.FeedExplorerCell' title: feed_explorer_cell required: - feedExplorerCell - type: object properties: feedPostCell: title: feed_post_cell $ref: '#/components/schemas/textql.rpc.public.cells.FeedPostCell' title: feed_post_cell required: - feedPostCell - type: object properties: formCell: title: form_cell $ref: '#/components/schemas/textql.rpc.public.cells.FormCell' title: form_cell required: - formCell - type: object properties: formEditorCell: title: form_editor_cell $ref: '#/components/schemas/textql.rpc.public.cells.FormEditorCell' title: form_editor_cell required: - formEditorCell - type: object properties: gmailEmailContentCell: title: gmail_email_content_cell $ref: '#/components/schemas/textql.rpc.public.cells.GmailEmailContentCell' title: gmail_email_content_cell required: - gmailEmailContentCell - type: object properties: gmailEmailSearchCell: title: gmail_email_search_cell $ref: '#/components/schemas/textql.rpc.public.cells.GmailEmailSearchCell' title: gmail_email_search_cell required: - gmailEmailSearchCell - type: object properties: googleCalendarSearchCell: title: google_calendar_search_cell $ref: '#/components/schemas/textql.rpc.public.cells.GoogleCalendarSearchCell' title: google_calendar_search_cell required: - googleCalendarSearchCell - type: object properties: googleDriveContentCell: title: google_drive_content_cell $ref: '#/components/schemas/textql.rpc.public.cells.GoogleDriveContentCell' title: google_drive_content_cell required: - googleDriveContentCell - type: object properties: googleDriveSearchCell: title: google_drive_search_cell $ref: '#/components/schemas/textql.rpc.public.cells.GoogleDriveSearchCell' title: google_drive_search_cell required: - googleDriveSearchCell - type: object properties: imageCell: title: image_cell $ref: '#/components/schemas/textql.rpc.public.cells.ImageCell' title: image_cell required: - imageCell - type: object properties: javascriptCell: title: javascript_cell $ref: '#/components/schemas/textql.rpc.public.cells.JavaScriptCell' title: javascript_cell required: - javascriptCell - type: object properties: linkedinSearchCell: title: linkedin_search_cell $ref: '#/components/schemas/textql.rpc.public.cells.LinkedinSearchCell' title: linkedin_search_cell required: - linkedinSearchCell - type: object properties: listAppsCell: title: list_apps_cell description: 66 is duration_ms outside the oneof $ref: '#/components/schemas/textql.rpc.public.cells.ListAppsCell' title: list_apps_cell required: - listAppsCell - type: object properties: listDashboardsCell: title: list_dashboards_cell $ref: '#/components/schemas/textql.rpc.public.cells.ListDashboardsCell' title: list_dashboards_cell required: - listDashboardsCell - type: object properties: listUsersCell: title: list_users_cell $ref: '#/components/schemas/textql.rpc.public.cells.ListUsersCell' title: list_users_cell required: - listUsersCell - type: object properties: mcpToolCell: title: mcp_tool_cell $ref: '#/components/schemas/textql.rpc.public.cells.MCPToolCell' title: mcp_tool_cell required: - mcpToolCell - type: object properties: mdCell: title: md_cell $ref: '#/components/schemas/textql.rpc.public.cells.MarkdownCell' title: md_cell required: - mdCell - type: object properties: metricsCell: title: metrics_cell $ref: '#/components/schemas/textql.rpc.public.cells.MetricsCell' title: metrics_cell required: - metricsCell - type: object properties: microsoft365CalendarCell: title: microsoft365_calendar_cell $ref: '#/components/schemas/textql.rpc.public.cells.Microsoft365CalendarCell' title: microsoft365_calendar_cell required: - microsoft365CalendarCell - type: object properties: microsoft365EmailContentCell: title: microsoft365_email_content_cell $ref: '#/components/schemas/textql.rpc.public.cells.Microsoft365EmailContentCell' title: microsoft365_email_content_cell required: - microsoft365EmailContentCell - type: object properties: microsoft365EmailSearchCell: title: microsoft365_email_search_cell $ref: '#/components/schemas/textql.rpc.public.cells.Microsoft365EmailSearchCell' title: microsoft365_email_search_cell required: - microsoft365EmailSearchCell - type: object properties: ontologyEditorCell: title: ontology_editor_cell $ref: '#/components/schemas/textql.rpc.public.cells.OntologyEditorCell' title: ontology_editor_cell required: - ontologyEditorCell - type: object properties: ontologyOpenObjectCell: title: ontology_open_object_cell $ref: '#/components/schemas/textql.rpc.public.cells.OntologyOpenObjectCell' title: ontology_open_object_cell required: - ontologyOpenObjectCell - type: object properties: ontologyQueryCell: title: ontology_query_cell $ref: '#/components/schemas/textql.rpc.public.cells.OntologyQueryCell' title: ontology_query_cell required: - ontologyQueryCell - type: object properties: ontologySearchMetricsCell: title: ontology_search_metrics_cell $ref: '#/components/schemas/textql.rpc.public.cells.OntologySearchMetricsCell' title: ontology_search_metrics_cell required: - ontologySearchMetricsCell - type: object properties: patchCell: title: patch_cell $ref: '#/components/schemas/textql.rpc.public.cells.PatchCell' title: patch_cell required: - patchCell - type: object properties: playbookEditorCell: title: playbook_editor_cell $ref: '#/components/schemas/textql.rpc.public.cells.PlaybookEditorCell' title: playbook_editor_cell required: - playbookEditorCell - type: object properties: powerbiCell: title: powerbi_cell $ref: '#/components/schemas/textql.rpc.public.cells.PowerBICell' title: powerbi_cell required: - powerbiCell - type: object properties: powerbiDaxCell: title: powerbi_dax_cell $ref: '#/components/schemas/textql.rpc.public.cells.PowerBIDAXCell' title: powerbi_dax_cell required: - powerbiDaxCell - type: object properties: previewCell: title: preview_cell $ref: '#/components/schemas/textql.rpc.public.cells.PreviewCell' title: preview_cell required: - previewCell - type: object properties: pyCell: title: py_cell $ref: '#/components/schemas/textql.rpc.public.cells.PythonCell' title: py_cell required: - pyCell - type: object properties: questionsCell: title: questions_cell $ref: '#/components/schemas/textql.rpc.public.cells.QuestionsCell' title: questions_cell required: - questionsCell - type: object properties: reportCell: title: report_cell $ref: '#/components/schemas/textql.rpc.public.cells.ReportCell' title: report_cell required: - reportCell - type: object properties: reportHistoryCell: title: report_history_cell $ref: '#/components/schemas/textql.rpc.public.cells.ReportHistoryCell' title: report_history_cell required: - reportHistoryCell - type: object properties: sqlCell: title: sql_cell $ref: '#/components/schemas/textql.rpc.public.cells.SQLCell' title: sql_cell required: - sqlCell - type: object properties: statusCell: title: status_cell description: 'Deprecated: use tool_summary instead' deprecated: true $ref: '#/components/schemas/textql.rpc.public.cells.StatusCell' title: status_cell required: - statusCell - type: object properties: streamlitCell: title: streamlit_cell $ref: '#/components/schemas/textql.rpc.public.cells.StreamlitCell' title: streamlit_cell required: - streamlitCell - type: object properties: subagentCell: title: subagent_cell $ref: '#/components/schemas/textql.rpc.public.cells.SubagentCell' title: subagent_cell required: - subagentCell - type: object properties: summaryCell: title: summary_cell $ref: '#/components/schemas/textql.rpc.public.cells.SummaryCell' title: summary_cell required: - summaryCell - type: object properties: tableauCell: title: tableau_cell $ref: '#/components/schemas/textql.rpc.public.cells.TableauCell' title: tableau_cell required: - tableauCell - type: object properties: tableauSearchFieldsCell: title: tableau_search_fields_cell $ref: '#/components/schemas/textql.rpc.public.cells.TableauSearchFieldsCell' title: tableau_search_fields_cell required: - tableauSearchFieldsCell - type: object properties: tableauSqlCell: title: tableau_sql_cell $ref: '#/components/schemas/textql.rpc.public.cells.TableauSQLCell' title: tableau_sql_cell required: - tableauSqlCell - type: object properties: tabularFileCell: title: tabular_file_cell $ref: '#/components/schemas/textql.rpc.public.cells.TabularFileCell' title: tabular_file_cell required: - tabularFileCell - type: object properties: textCell: title: text_cell $ref: '#/components/schemas/textql.rpc.public.cells.TextCell' title: text_cell required: - textCell - type: object properties: thinkingCell: title: thinking_cell $ref: '#/components/schemas/textql.rpc.public.cells.ThinkingCell' title: thinking_cell required: - thinkingCell - type: object properties: useSkillCell: title: use_skill_cell $ref: '#/components/schemas/textql.rpc.public.cells.UseSkillCell' title: use_skill_cell required: - useSkillCell - type: object properties: wsCell: title: ws_cell $ref: '#/components/schemas/textql.rpc.public.cells.WebSearchCell' title: ws_cell required: - wsCell title: Cell additionalProperties: false textql.rpc.public.chat.CellExecutionTiming: type: object properties: cellId: type: string title: cell_id totalMs: type: - integer - string title: total_ms format: int64 warehouseMs: type: - integer - string title: warehouse_ms format: int64 title: CellExecutionTiming additionalProperties: false textql.rpc.public.chat.CellLifecycle: type: string title: CellLifecycle enum: - LIFECYCLE_UNKNOWN - LIFECYCLE_CREATING - LIFECYCLE_CREATED - LIFECYCLE_EXECUTING - LIFECYCLE_EXECUTED - LIFECYCLE_HALTED - LIFECYCLE_HANDOFF_PENDING textql.rpc.public.chat.CellRating: type: string title: CellRating enum: - CELL_RATING_UNSPECIFIED - CELL_RATING_NONE - CELL_RATING_UP - CELL_RATING_DOWN textql.rpc.public.chat.Chat: type: object properties: id: type: string title: id description: UUID paradigm: title: paradigm $ref: '#/components/schemas/textql.rpc.public.paradigm.Paradigm' model: title: model $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' timestamp: title: timestamp $ref: '#/components/schemas/google.protobuf.Timestamp' orgId: type: string title: org_id memberId: type: string title: member_id summary: type: string title: summary nullable: true playbookId: type: string title: playbook_id nullable: true research: type: boolean title: research description: whether this chat was created with report mode enabled nullable: true creatorEmail: type: string title: creator_email nullable: true apiKeyClientId: type: string title: api_key_client_id nullable: true updatedAt: title: updated_at description: when chat was last updated $ref: '#/components/schemas/google.protobuf.Timestamp' isBookmarked: type: boolean title: is_bookmarked description: whether this chat is bookmarked by the user nullable: true preferredProvider: type: string title: preferred_provider nullable: true templateDataId: type: string title: template_data_id description: UUID reference to playbook_template_data nullable: true batchRunId: type: string title: batch_run_id description: UUID reference to playbook_batch_run nullable: true preview: type: string title: preview description: preview/snippet of first message content nullable: true dashboardMode: type: boolean title: dashboard_mode description: whether this chat was created with dashboard mode enabled nullable: true source: title: source description: source of the chat nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.ChatSource' methodology: title: methodology description: chat-level methodology preference nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.Methodology' isRunning: type: boolean title: is_running description: whether this chat has an active stream nullable: true isUnread: type: boolean title: is_unread description: whether updated_at > last_read_at for the requesting user nullable: true vllmModelId: type: string title: vllm_model_id description: |- vllm_model_id is the per-chat model identifier for the org's vLLM endpoint. Only meaningful when model == MODEL_VLLM. nullable: true fastMode: type: boolean title: fast_mode description: |- fast_mode enables Anthropic's fast inference mode (speed: "fast"). Supported on Opus 5 and Opus 4.8. Pricing is 2x standard rates. nullable: true agentId: type: string title: agent_id description: Agent that owns this chat, unset for human-initiated chats. nullable: true agentName: type: string title: agent_name nullable: true agentProfileImageUrl: type: string title: agent_profile_image_url nullable: true maxThinking: type: boolean title: max_thinking description: |- max_thinking runs extended thinking at max effort with visible reasoning. Supported on Sonnet 5, Fable 5, Opus 4.8, Opus 5, and GPT 5.6 Sol/Terra/Luna. Thinking tokens bill as output tokens. nullable: true title: Chat additionalProperties: false textql.rpc.public.chat.ChatExecutionTiming: type: object properties: cellType: type: string title: cell_type cellCount: type: - integer - string title: cell_count format: int64 totalMs: type: - integer - string title: total_ms format: int64 warehouseMs: type: - integer - string title: warehouse_ms format: int64 egressMs: type: - integer - string title: egress_ms format: int64 overheadMs: type: - integer - string title: overhead_ms format: int64 title: ChatExecutionTiming additionalProperties: false textql.rpc.public.chat.ChatMessage: type: object properties: role: type: string title: role content: type: string title: content createdAt: title: created_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: ChatMessage additionalProperties: false textql.rpc.public.chat.ChatSortDirection: type: string title: ChatSortDirection enum: - CHAT_SORT_DIRECTION_UNKNOWN - CHAT_SORT_DIRECTION_ASC - CHAT_SORT_DIRECTION_DESC textql.rpc.public.chat.ChatSortField: type: string title: ChatSortField enum: - CHAT_SORT_FIELD_UNKNOWN - CHAT_SORT_FIELD_NAME - CHAT_SORT_FIELD_CREATED_AT - CHAT_SORT_FIELD_UPDATED_AT textql.rpc.public.chat.ChatSource: type: string title: ChatSource enum: - CHAT_SOURCE_UNKNOWN - CHAT_SOURCE_THREAD - CHAT_SOURCE_PLAYBOOK - CHAT_SOURCE_SLACK - CHAT_SOURCE_FEED - CHAT_SOURCE_TEAMS - CHAT_SOURCE_SMS - CHAT_SOURCE_MCP - CHAT_SOURCE_SYSTEM - CHAT_SOURCE_DATA_APP textql.rpc.public.chat.CheckChatPermissionsRequest: type: object properties: chatId: type: string title: chat_id title: CheckChatPermissionsRequest required: - chatId additionalProperties: false textql.rpc.public.chat.CheckChatPermissionsResponse: type: object properties: hasWritePermission: type: boolean title: has_write_permission hasReadPermission: type: boolean title: has_read_permission connectorId: type: integer title: connector_id format: int32 nullable: true deprecated: true ontologyId: type: integer title: ontology_id format: int32 nullable: true deprecated: true connectorIds: type: array items: type: integer format: int32 title: connector_ids ontologyIds: type: array items: type: integer format: int32 title: ontology_ids title: CheckChatPermissionsResponse additionalProperties: false textql.rpc.public.chat.CheckHealthRequest: type: object properties: model: title: model $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' functional: type: boolean title: functional nullable: true title: CheckHealthRequest additionalProperties: false textql.rpc.public.chat.CheckHealthResponse: type: object properties: llmStatus: title: llm_status $ref: '#/components/schemas/textql.rpc.public.chat.HealthStatus' webStatus: title: web_status $ref: '#/components/schemas/textql.rpc.public.chat.HealthStatus' ontologyStatus: title: ontology_status $ref: '#/components/schemas/textql.rpc.public.chat.HealthStatus' valkeyStatus: title: valkey_status $ref: '#/components/schemas/textql.rpc.public.chat.HealthStatus' tableauStatus: title: tableau_status $ref: '#/components/schemas/textql.rpc.public.chat.HealthStatus' sandboxStatus: title: sandbox_status $ref: '#/components/schemas/textql.rpc.public.chat.HealthStatus' llmExecutionStatus: title: llm_execution_status nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.HealthStatus' sandboxExecutionStatus: title: sandbox_execution_status nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.HealthStatus' consoleStatus: title: console_status $ref: '#/components/schemas/textql.rpc.public.chat.HealthStatus' title: CheckHealthResponse additionalProperties: false textql.rpc.public.chat.CheckStreamlitHealthRequest: type: object properties: chatId: type: string title: chat_id cellId: type: string title: cell_id title: CheckStreamlitHealthRequest required: - chatId - cellId additionalProperties: false textql.rpc.public.chat.CheckStreamlitHealthResponse: type: object properties: status: title: status description: All creators of chats user can see $ref: '#/components/schemas/textql.rpc.public.chat.StreamlitHealthStatus' cell: title: cell $ref: '#/components/schemas/textql.rpc.public.chat.Cell' embedUrl: type: string title: embed_url nullable: true streamlitUrl: type: string title: streamlit_url nullable: true title: CheckStreamlitHealthResponse additionalProperties: false textql.rpc.public.chat.CreateRequest: type: object properties: paradigm: title: paradigm $ref: '#/components/schemas/textql.rpc.public.paradigm.Paradigm' model: title: model $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' message: type: string title: message description: optionally pre-fill first message nullable: true playbookId: type: string title: playbook_id description: optionally associate with a playbook nullable: true research: type: boolean title: research description: whether to enable report mode for this chat nullable: true dashboardMode: type: boolean title: dashboard_mode description: whether to enable dashboard mode for this chat nullable: true methodology: title: methodology description: optionally set chat methodology at creation nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.Methodology' vllmModelId: type: string title: vllm_model_id description: |- vllm_model_id is the model identifier forwarded to the org's vLLM endpoint. Only valid when model == MODEL_VLLM. Requires @textql.com superadmin. nullable: true fastMode: type: boolean title: fast_mode description: |- fast_mode enables Anthropic's fast inference (speed: "fast") for this chat. Supported on Opus 5 and Opus 4.8. Pricing is 2x standard rates. nullable: true maxThinking: type: boolean title: max_thinking description: |- max_thinking runs extended thinking at max effort with visible reasoning. Supported on Sonnet 5, Fable 5, Opus 4.8, Opus 5, and GPT 5.6 Sol/Terra/Luna. nullable: true modelName: type: string title: model_name nullable: true title: CreateRequest required: - paradigm additionalProperties: false textql.rpc.public.chat.CreateResponse: type: object properties: chat: title: chat $ref: '#/components/schemas/textql.rpc.public.chat.Chat' title: CreateResponse additionalProperties: false textql.rpc.public.chat.DashboardArtifactData: type: object properties: dashboardId: type: string title: dashboard_id title: DashboardArtifactData additionalProperties: false description: File-based artifacts (images, PDFs, CSVs, HTML, text files) textql.rpc.public.chat.DeleteChatRequest: type: object properties: chatId: type: string title: chat_id title: DeleteChatRequest required: - chatId additionalProperties: false textql.rpc.public.chat.DismissQuestionsRequest: type: object properties: cellId: type: string title: cell_id description: UUID answers: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.QuestionAnswer' title: answers title: DismissQuestionsRequest required: - cellId additionalProperties: false textql.rpc.public.chat.DismissQuestionsResponse: type: object properties: success: type: boolean title: success status: title: status $ref: '#/components/schemas/textql.rpc.public.cells.QuestionsStatus' title: DismissQuestionsResponse additionalProperties: false textql.rpc.public.chat.DuplicateChatRequest: type: object properties: chatId: type: string title: chat_id description: '"user" or "assistant"' onlyIfDifferentOwner: type: boolean title: only_if_different_owner nullable: true upToCellId: type: string title: up_to_cell_id nullable: true paradigmOptions: title: paradigm_options nullable: true $ref: '#/components/schemas/textql.rpc.public.paradigm.ParadigmOptions' model: title: model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' fastMode: type: boolean title: fast_mode nullable: true methodology: title: methodology nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.Methodology' maxThinking: type: boolean title: max_thinking nullable: true title: DuplicateChatRequest required: - chatId additionalProperties: false textql.rpc.public.chat.DuplicateChatResponse: type: object properties: chat: title: chat $ref: '#/components/schemas/textql.rpc.public.chat.Chat' title: DuplicateChatResponse additionalProperties: false textql.rpc.public.chat.EgressCall: type: object properties: id: type: string title: id method: type: string title: method scheme: type: string title: scheme host: type: string title: host path: type: string title: path statusCode: type: integer title: status_code format: int32 outcome: type: string title: outcome durationMs: type: - integer - string title: duration_ms format: int64 requestBytes: type: - integer - string title: request_bytes format: int64 responseBytes: type: - integer - string title: response_bytes format: int64 apiAccessKeyId: type: string title: api_access_key_id occurredAt: title: occurred_at $ref: '#/components/schemas/google.protobuf.Timestamp' cellId: type: string title: cell_id interpretation: type: string title: interpretation title: EgressCall additionalProperties: false textql.rpc.public.chat.EgressSummary: type: object properties: totalCalls: type: integer title: total_calls format: int32 outcomeCounts: type: object title: outcome_counts additionalProperties: type: integer title: value format: int32 calls: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.EgressCall' title: calls title: EgressSummary additionalProperties: false textql.rpc.public.chat.EgressSummary.OutcomeCountsEntry: type: object properties: key: type: string title: key value: type: integer title: value format: int32 title: OutcomeCountsEntry additionalProperties: false textql.rpc.public.chat.FileArtifactData: type: object properties: url: type: string title: url description: Cell ID or composite "cellId:type:url" for multi-artifact cells type: title: type $ref: '#/components/schemas/textql.rpc.public.chat.ArtifactType' title: FileArtifactData additionalProperties: false description: Request full artifact data when item is selected textql.rpc.public.chat.FormArtifactData: type: object properties: formId: type: string title: form_id title: FormArtifactData additionalProperties: false textql.rpc.public.chat.GetAPIChatAnswerRequest: type: object properties: chatId: type: string title: chat_id title: GetAPIChatAnswerRequest required: - chatId additionalProperties: false description: order is "most recent first" textql.rpc.public.chat.GetAPIChatAnswerResponse: type: object properties: answer: type: string title: answer complete: type: boolean title: complete error: type: string title: error title: GetAPIChatAnswerResponse additionalProperties: false textql.rpc.public.chat.GetArtifactRequest: type: object properties: artifactId: type: string title: artifact_id chatId: type: string title: chat_id title: GetArtifactRequest required: - artifactId - chatId additionalProperties: false description: Request all artifact summaries for a chat (for drawer dropdown) textql.rpc.public.chat.GetArtifactResponse: type: object allOf: - type: object properties: id: type: string title: id description: Flat list, sorted by created_at DESC name: type: string title: name - oneOf: - type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.chat.DashboardArtifactData' title: dashboard required: - dashboard - type: object properties: file: title: file $ref: '#/components/schemas/textql.rpc.public.chat.FileArtifactData' title: file required: - file - type: object properties: form: title: form $ref: '#/components/schemas/textql.rpc.public.chat.FormArtifactData' title: form required: - form - type: object properties: streamlit: title: streamlit $ref: '#/components/schemas/textql.rpc.public.chat.StreamlitArtifactData' title: streamlit required: - streamlit title: GetArtifactResponse additionalProperties: false textql.rpc.public.chat.GetChatArtifactsSummaryRequest: type: object properties: chatId: type: string title: chat_id title: GetChatArtifactsSummaryRequest required: - chatId additionalProperties: false textql.rpc.public.chat.GetChatArtifactsSummaryResponse: type: object properties: artifacts: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.ArtifactSummary' title: artifacts description: cell_id or unique identifier title: GetChatArtifactsSummaryResponse additionalProperties: false description: Lightweight summary for drawer item list (minimal data transfer) textql.rpc.public.chat.GetChatExecutionTimingRequest: type: object properties: chatId: type: string title: chat_id title: GetChatExecutionTimingRequest required: - chatId additionalProperties: false textql.rpc.public.chat.GetChatExecutionTimingResponse: type: object properties: byType: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.ChatExecutionTiming' title: by_type totalExecutionMs: type: - integer - string title: total_execution_ms format: int64 totalWarehouseMs: type: - integer - string title: total_warehouse_ms format: int64 totalEgressMs: type: - integer - string title: total_egress_ms format: int64 totalOverheadMs: type: - integer - string title: total_overhead_ms format: int64 byCell: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.CellExecutionTiming' title: by_cell sandboxMountMs: type: - integer - string title: sandbox_mount_ms format: int64 title: GetChatExecutionTimingResponse additionalProperties: false textql.rpc.public.chat.GetChatRequest: type: object properties: chatId: type: string title: chat_id description: whether to return only the user's chats or all of the org's chats title: GetChatRequest required: - chatId additionalProperties: false textql.rpc.public.chat.GetChatResponse: type: object properties: chat: title: chat $ref: '#/components/schemas/textql.rpc.public.chat.Chat' messages: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.ChatMessage' title: messages assets: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.PreviewCell' title: assets title: GetChatResponse additionalProperties: false textql.rpc.public.chat.GetChatsRequest: type: object properties: memberOnly: type: boolean title: member_only searchTerm: type: string title: search_term nullable: true limit: type: integer title: limit format: int32 nullable: true offset: type: integer title: offset format: int32 nullable: true creatorMemberId: type: string title: creator_member_id nullable: true sortBy: title: sort_by $ref: '#/components/schemas/textql.rpc.public.chat.ChatSortField' sortDirection: title: sort_direction $ref: '#/components/schemas/textql.rpc.public.chat.ChatSortDirection' bookmarkedOnly: type: boolean title: bookmarked_only nullable: true createdAfter: title: created_after nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' createdBefore: title: created_before nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' excludeBatchRuns: type: boolean title: exclude_batch_runs nullable: true excludeUnusedPlaybooks: type: boolean title: exclude_unused_playbooks nullable: true source: title: source nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.ChatSource' hasThreadWarning: type: boolean title: has_thread_warning nullable: true creatorMemberIds: type: array items: type: string title: creator_member_ids sharedWithMe: type: boolean title: shared_with_me nullable: true excludeFeed: type: boolean title: exclude_feed nullable: true sources: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.ChatSource' title: sources threadWarningTypes: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.ThreadWarningType' title: thread_warning_types topicIds: type: array items: type: string title: topic_ids connectorIds: type: array items: type: integer format: int32 title: connector_ids title: GetChatsRequest additionalProperties: false textql.rpc.public.chat.GetChatsResponse: type: object properties: chats: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.Chat' title: chats totalCount: type: integer title: total_count format: int32 title: GetChatsResponse additionalProperties: false textql.rpc.public.chat.GetCompletionParametersBatchRequest: type: object properties: chatId: type: string title: chat_id cellIds: type: array items: type: string title: cell_ids title: GetCompletionParametersBatchRequest required: - chatId additionalProperties: false textql.rpc.public.chat.GetCompletionParametersBatchResponse: type: object properties: paramsByCellId: type: object title: params_by_cell_id additionalProperties: title: value $ref: '#/components/schemas/textql.rpc.public.chat.LlmCompletionParameters' title: GetCompletionParametersBatchResponse additionalProperties: false textql.rpc.public.chat.GetCompletionParametersBatchResponse.ParamsByCellIdEntry: type: object properties: key: type: string title: key value: title: value $ref: '#/components/schemas/textql.rpc.public.chat.LlmCompletionParameters' title: ParamsByCellIdEntry additionalProperties: false textql.rpc.public.chat.GetCompletionParametersRequest: type: object properties: chatId: type: string title: chat_id description: UUID cellId: type: string title: cell_id title: GetCompletionParametersRequest required: - chatId - cellId additionalProperties: false textql.rpc.public.chat.GetCompletionParametersResponse: type: object properties: params: title: params $ref: '#/components/schemas/textql.rpc.public.chat.LlmCompletionParameters' title: GetCompletionParametersResponse additionalProperties: false textql.rpc.public.chat.GetLlmUsageRequest: type: object properties: chatId: type: string title: chat_id includeCosts: type: boolean title: include_costs title: GetLlmUsageRequest required: - chatId additionalProperties: false textql.rpc.public.chat.GetLlmUsageResponse: type: object properties: usage: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.LlmUsage' title: usage contextWindowUsed: type: number title: context_window_used format: double estimatedCost: type: number title: estimated_cost format: double nullable: true estimatedComputeCost: type: number title: estimated_compute_cost format: double nullable: true sandboxId: type: string title: sandbox_id nullable: true estimatedComputeAcus: type: number title: estimated_compute_acus format: double nullable: true title: GetLlmUsageResponse additionalProperties: false textql.rpc.public.chat.GetMembersWithChatsRequest: type: object title: GetMembersWithChatsRequest additionalProperties: false textql.rpc.public.chat.GetMembersWithChatsResponse: type: object properties: members: type: array items: $ref: '#/components/schemas/textql.rpc.identity.MemberPreview' title: members title: GetMembersWithChatsResponse additionalProperties: false textql.rpc.public.chat.GetPlaybookChatsRequest: type: object properties: playbookId: type: string title: playbook_id limit: type: integer title: limit nullable: true skip: type: integer title: skip nullable: true title: GetPlaybookChatsRequest required: - playbookId additionalProperties: false textql.rpc.public.chat.GetPlaybookChatsResponse: type: object properties: chats: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.Chat' title: chats title: GetPlaybookChatsResponse additionalProperties: false textql.rpc.public.chat.HealthStatus: type: string title: HealthStatus enum: - STATUS_UNKNOWN - STATUS_HEALTHY - STATUS_MINOR - STATUS_MAJOR - STATUS_CRITICAL textql.rpc.public.chat.HistoryRequest: type: object properties: chatId: type: string title: chat_id limit: type: integer title: limit nullable: true skip: type: integer title: skip nullable: true title: HistoryRequest required: - chatId additionalProperties: false textql.rpc.public.chat.HistoryResponse: type: object properties: cells: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.Cell' title: cells hasMore: type: boolean title: has_more title: HistoryResponse additionalProperties: false textql.rpc.public.chat.LlmCompletionParameters: type: object properties: startedAt: title: started_at $ref: '#/components/schemas/google.protobuf.Timestamp' completedAt: title: completed_at $ref: '#/components/schemas/google.protobuf.Timestamp' memberId: type: string title: member_id llmModel: type: string title: llm_model llmProvider: type: string title: llm_provider systemMessages: type: array items: type: string title: system_messages messages: type: array items: type: string title: messages tools: type: array items: type: string title: tools toolChoice: type: string title: tool_choice nullable: true thinking: type: string title: thinking nullable: true maxTokens: type: - integer - string title: max_tokens format: int64 nullable: true temperature: type: number title: temperature format: double nullable: true stopSequences: type: array items: type: string title: stop_sequences serviceTier: type: string title: service_tier nullable: true customSettings: type: string title: custom_settings nullable: true title: LlmCompletionParameters additionalProperties: false description: LLM completion parameters used to create a cell textql.rpc.public.chat.LlmModel: type: string title: LlmModel enum: - MODEL_UNKNOWN - MODEL_DEFAULT - MODEL_DEFAULT_SYSTEM - MODEL_HAIKU_4_5 - MODEL_OPUS_4_8 - MODEL_FABLE_5 - MODEL_SONNET_5 - MODEL_OPUS_5 - MODEL_GPT_5_6_SOL - MODEL_GEMINI_3_FLASH - MODEL_GEMINI_3_PRO - MODEL_GEMINI_3_1_PRO - MODEL_GEMINI_3_5_FLASH - MODEL_GPT_5_6_TERRA - MODEL_GPT_5_6_LUNA - MODEL_DEEPSEEK_3_2 - MODEL_GLM_5 - MODEL_VLLM - MODEL_KIMI_K2_6 - MODEL_GLM_5_2 - MODEL_KIMI_K2_7_CODE - MODEL_QWEN3_7_PLUS - MODEL_KIMI_K3 - MODEL_DEEPSEEK_V4_FLASH_0731 - MODEL_MUSE_SPARK_1_1 - MODEL_MUSE_SPARK_1_2 textql.rpc.public.chat.LlmUsage: type: object properties: inputTokens: type: - integer - string title: input_tokens format: int64 cacheCreationInputTokens: type: - integer - string title: cache_creation_input_tokens format: int64 description: if true, runs actual execution tests (expensive) cacheReadInputTokens: type: - integer - string title: cache_read_input_tokens format: int64 outputTokens: type: - integer - string title: output_tokens format: int64 modelName: type: string title: model_name timestamp: title: timestamp $ref: '#/components/schemas/google.protobuf.Timestamp' title: LlmUsage additionalProperties: false textql.rpc.public.chat.Methodology: type: string title: Methodology enum: - METHODOLOGY_UNKNOWN - METHODOLOGY_ADAPTIVE - METHODOLOGY_PRESCRIPTIVE - METHODOLOGY_THOROUGH - METHODOLOGY_CAREFUL - METHODOLOGY_ONTOLOGY_BUILDING textql.rpc.public.chat.PollChatEventsRequest: type: object properties: chatId: type: string title: chat_id resumeCursor: type: string title: resume_cursor nullable: true minGeneration: type: - integer - string title: min_generation format: int64 title: PollChatEventsRequest required: - chatId additionalProperties: false textql.rpc.public.chat.PollChatEventsResponse: type: object properties: events: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.WatchChatEvent' title: events cursor: type: string title: cursor running: type: boolean title: running generation: type: - integer - string title: generation format: int64 title: PollChatEventsResponse additionalProperties: false textql.rpc.public.chat.QueryOneShotRequest: type: object properties: question: type: string title: question paradigm: title: paradigm $ref: '#/components/schemas/textql.rpc.public.paradigm.Paradigm' model: title: model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' chatId: type: string title: chat_id nullable: true title: QueryOneShotRequest required: - question - paradigm additionalProperties: false textql.rpc.public.chat.QueryOneShotResponse: type: object properties: chatId: type: string title: chat_id answer: type: string title: answer cells: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.Cell' title: cells title: QueryOneShotResponse additionalProperties: false textql.rpc.public.chat.RateChatCellRequest: type: object properties: chatId: type: string title: chat_id cellId: type: string title: cell_id rating: title: rating $ref: '#/components/schemas/textql.rpc.public.chat.CellRating' reason: type: string title: reason nullable: true title: RateChatCellRequest required: - chatId - cellId - rating additionalProperties: false textql.rpc.public.chat.RejectContextPromptChangeRequest: type: object properties: cellId: type: string title: cell_id description: UUID title: RejectContextPromptChangeRequest required: - cellId additionalProperties: false description: context prompt change management textql.rpc.public.chat.RejectContextPromptChangeResponse: type: object properties: success: type: boolean title: success message: type: string title: message status: title: status $ref: '#/components/schemas/textql.rpc.public.cells.ContextPromptChangeStatus' resumed: type: boolean title: resumed resumeError: type: string title: resume_error title: RejectContextPromptChangeResponse additionalProperties: false textql.rpc.public.chat.RejectOntologyChangeRequest: type: object properties: cellId: type: string title: cell_id description: UUID title: RejectOntologyChangeRequest required: - cellId additionalProperties: false description: Ontology change management textql.rpc.public.chat.RejectOntologyChangeResponse: type: object properties: success: type: boolean title: success message: type: string title: message resumed: type: boolean title: resumed resumeError: type: string title: resume_error title: RejectOntologyChangeResponse additionalProperties: false textql.rpc.public.chat.RunChatRequest: type: object properties: chatId: type: string title: chat_id latestCompleteCellId: type: string title: latest_complete_cell_id nullable: true research: type: boolean title: research nullable: true model: title: model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' fastMode: type: boolean title: fast_mode nullable: true maxThinking: type: boolean title: max_thinking nullable: true title: RunChatRequest required: - chatId additionalProperties: false textql.rpc.public.chat.RunChatResponse: type: object properties: cells: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.Cell' title: cells title: RunChatResponse additionalProperties: false textql.rpc.public.chat.SendRequest: type: object properties: chatId: type: string title: chat_id message: type: string title: message imageUrls: type: array items: type: string title: image_urls messageId: type: string title: message_id nullable: true steering: type: boolean title: steering nullable: true title: SendRequest required: - chatId - message additionalProperties: false textql.rpc.public.chat.SendResponse: type: object properties: cellId: type: string title: cell_id title: SendResponse additionalProperties: false textql.rpc.public.chat.StreamlitArtifactData: type: object properties: embedUrl: type: string title: embed_url title: StreamlitArtifactData additionalProperties: false textql.rpc.public.chat.StreamlitHealthStatus: type: string title: StreamlitHealthStatus enum: - STREAMLIT_HEALTH_STATUS_NOT_RUNNING - STREAMLIT_HEALTH_STATUS_HEALTHY - STREAMLIT_HEALTH_STATUS_STARTING - STREAMLIT_HEALTH_STATUS_FAILED - STREAMLIT_HEALTH_STATUS_UPDATING textql.rpc.public.chat.SubmitContextPromptChangeRequest: type: object properties: cellId: type: string title: cell_id description: UUID editedContext: type: string title: edited_context title: SubmitContextPromptChangeRequest required: - cellId - editedContext additionalProperties: false textql.rpc.public.chat.SubmitContextPromptChangeResponse: type: object properties: success: type: boolean title: success message: type: string title: message status: title: status $ref: '#/components/schemas/textql.rpc.public.cells.ContextPromptChangeStatus' resumed: type: boolean title: resumed resumeError: type: string title: resume_error title: SubmitContextPromptChangeResponse additionalProperties: false textql.rpc.public.chat.SubmitQuestionsRequest: type: object properties: cellId: type: string title: cell_id description: UUID answers: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.QuestionAnswer' title: answers title: SubmitQuestionsRequest required: - cellId additionalProperties: false textql.rpc.public.chat.SubmitQuestionsResponse: type: object properties: success: type: boolean title: success status: title: status $ref: '#/components/schemas/textql.rpc.public.cells.QuestionsStatus' resumed: type: boolean title: resumed resumeError: type: string title: resume_error title: SubmitQuestionsResponse additionalProperties: false textql.rpc.public.chat.ThreadWarningType: type: string title: ThreadWarningType enum: - THREAD_WARNING_TYPE_UNSPECIFIED - THREAD_WARNING_TYPE_MISSING_CONTEXT - THREAD_WARNING_TYPE_ERROR_LOOP - THREAD_WARNING_TYPE_EXCESSIVE_TOOL_CALLS - THREAD_WARNING_TYPE_SLOW_QUERY - THREAD_WARNING_TYPE_NO_RESULTS - THREAD_WARNING_TYPE_USER_FRUSTRATION - THREAD_WARNING_TYPE_POTENTIAL_HALLUCINATION - THREAD_WARNING_TYPE_IGNORED_INSTRUCTION - THREAD_WARNING_TYPE_USER_THUMBS_DOWN - THREAD_WARNING_TYPE_NO_CONCLUSION - THREAD_WARNING_TYPE_USER_THUMBS_UP - THREAD_WARNING_TYPE_GOAL_ACHIEVED - THREAD_WARNING_TYPE_USER_SATISFACTION description: ThreadWarningType is the canonical set of thread warning types textql.rpc.public.chat.UnbookmarkChatRequest: type: object properties: chatId: type: string title: chat_id title: UnbookmarkChatRequest required: - chatId additionalProperties: false description: Simplified query response for external API users textql.rpc.public.chat.UpdateChatRequest: type: object properties: chatId: type: string title: chat_id research: type: boolean title: research description: update report mode nullable: true summary: type: string title: summary description: update chat summary nullable: true dashboardMode: type: boolean title: dashboard_mode description: update dashboard mode nullable: true methodology: title: methodology description: update chat methodology nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.Methodology' fastMode: type: boolean title: fast_mode description: update fast inference mode nullable: true maxThinking: type: boolean title: max_thinking description: update max thinking mode nullable: true title: UpdateChatRequest required: - chatId additionalProperties: false textql.rpc.public.chat.UpdateChatResponse: type: object properties: chat: title: chat $ref: '#/components/schemas/textql.rpc.public.chat.Chat' title: UpdateChatResponse additionalProperties: false textql.rpc.public.chat.WarningCategory: type: string title: WarningCategory enum: - WARNING_CATEGORY_UNSPECIFIED - WARNING_CATEGORY_CAUSE - WARNING_CATEGORY_SYMPTOM - WARNING_CATEGORY_OUTCOME - WARNING_CATEGORY_STRENGTH textql.rpc.public.chat.WatchChatEvent: type: object allOf: - type: object properties: cursor: type: string title: cursor - oneOf: - type: object properties: cell: title: cell $ref: '#/components/schemas/textql.rpc.public.chat.Cell' title: cell required: - cell - type: object properties: handoffPending: title: handoff_pending $ref: '#/components/schemas/textql.rpc.public.chat.WatchHandoffPendingEvent' title: handoff_pending required: - handoffPending - type: object properties: heartbeat: title: heartbeat $ref: '#/components/schemas/textql.rpc.public.chat.WatchHeartbeatEvent' title: heartbeat required: - heartbeat - type: object properties: opened: title: opened $ref: '#/components/schemas/textql.rpc.public.chat.WatchOpenedEvent' title: opened required: - opened - type: object properties: runComplete: title: run_complete $ref: '#/components/schemas/textql.rpc.public.chat.WatchRunCompleteEvent' title: run_complete required: - runComplete - type: object properties: runError: title: run_error $ref: '#/components/schemas/textql.rpc.public.chat.WatchRunErrorEvent' title: run_error required: - runError - type: object properties: runStarted: title: run_started $ref: '#/components/schemas/textql.rpc.public.chat.WatchRunStartedEvent' title: run_started required: - runStarted title: WatchChatEvent additionalProperties: false textql.rpc.public.chat.WatchChatRequest: type: object properties: chatId: type: string title: chat_id latestCompleteCellId: type: string title: latest_complete_cell_id nullable: true resumeCursor: type: string title: resume_cursor nullable: true title: WatchChatRequest required: - chatId additionalProperties: false textql.rpc.public.chat.WatchHandoffPendingEvent: type: object properties: handoffMarker: type: string title: handoff_marker title: WatchHandoffPendingEvent additionalProperties: false textql.rpc.public.chat.WatchHeartbeatEvent: type: object title: WatchHeartbeatEvent additionalProperties: false textql.rpc.public.chat.WatchOpenedEvent: type: object title: WatchOpenedEvent additionalProperties: false textql.rpc.public.chat.WatchRunCompleteEvent: type: object properties: finalCellId: type: string title: final_cell_id title: WatchRunCompleteEvent additionalProperties: false textql.rpc.public.chat.WatchRunErrorEvent: type: object properties: error: type: string title: error code: type: string title: code title: WatchRunErrorEvent additionalProperties: false textql.rpc.public.chat.WatchRunStartedEvent: type: object title: WatchRunStartedEvent additionalProperties: false textql.rpc.public.common.SortDirection: type: string title: SortDirection enum: - SORT_DIRECTION_UNKNOWN - SORT_DIRECTION_ASC - SORT_DIRECTION_DESC description: Common enum for sort direction used across multiple services textql.rpc.public.config_source.ConfigSource: type: object properties: filePath: type: string title: file_path description: Library file that defines the object syncStatus: title: sync_status $ref: '#/components/schemas/textql.rpc.public.config_source.ConfigSyncStatus' syncError: type: string title: sync_error description: set only when sync_status = ERROR nullable: true breakingPatchId: type: string title: breaking_patch_id description: patch that drove it to ERROR (Quick Revert target) nullable: true title: ConfigSource additionalProperties: false description: |- Config-management metadata (provenance + reconcile state) for any file-based object. Presence on an object ⇒ the object is config-managed. textql.rpc.public.config_source.ConfigSyncStatus: type: string title: ConfigSyncStatus enum: - CONFIG_SYNC_STATUS_UNSPECIFIED - CONFIG_SYNC_STATUS_SYNCING - CONFIG_SYNC_STATUS_SYNCED - CONFIG_SYNC_STATUS_ERROR textql.rpc.public.connector.AthenaMetadata: type: object properties: region: type: string title: region database: type: string title: database workgroup: type: string title: workgroup s3OutputLocation: type: string title: s3_output_location athenaAuth: title: athena_auth $ref: '#/components/schemas/textql.rpc.public.connector.AthenaMetadata.AthenaAuth' catalog: type: string title: catalog title: AthenaMetadata additionalProperties: false textql.rpc.public.connector.AthenaMetadata.AthenaAuth: type: object oneOf: - type: object properties: accessKey: title: access_key $ref: '#/components/schemas/textql.rpc.public.connector.AthenaMetadata.AthenaAuth.AccessKeyCredentials' title: access_key required: - accessKey - type: object properties: iamRole: title: iam_role $ref: '#/components/schemas/textql.rpc.public.connector.AthenaMetadata.AthenaAuth.IAMRoleCredentials' title: iam_role required: - iamRole title: AthenaAuth additionalProperties: false textql.rpc.public.connector.AthenaMetadata.AthenaAuth.AccessKeyCredentials: type: object properties: accessKeyId: type: string title: access_key_id secretAccessKey: type: string title: secret_access_key title: AccessKeyCredentials additionalProperties: false textql.rpc.public.connector.AthenaMetadata.AthenaAuth.IAMRoleCredentials: type: object properties: roleArn: type: string title: role_arn sessionName: type: string title: session_name title: IAMRoleCredentials additionalProperties: false textql.rpc.public.connector.AuroraMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database schema: type: string title: schema dialect: type: string title: dialect sslMode: type: boolean title: ssl_mode auroraAuth: title: aurora_auth $ref: '#/components/schemas/textql.rpc.public.connector.AuroraMetadata.AuroraAuth' title: AuroraMetadata additionalProperties: false textql.rpc.public.connector.AuroraMetadata.AuroraAuth: type: object properties: iamAuth: type: boolean title: iam_auth clusterId: type: string title: cluster_id region: type: string title: region title: AuroraAuth additionalProperties: false textql.rpc.public.connector.AzureSynapseMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database schema: type: string title: schema authType: type: string title: auth_type clientId: type: string title: client_id clientSecret: type: string title: client_secret tenantId: type: string title: tenant_id title: AzureSynapseMetadata additionalProperties: false textql.rpc.public.connector.BigQueryMetadata: type: object properties: projectId: type: string title: project_id datasetId: type: string title: dataset_id serviceAccountKey: type: string title: service_account_key regionQualifier: type: string title: region_qualifier title: BigQueryMetadata additionalProperties: false textql.rpc.public.connector.ClickHouseMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database useSsl: type: boolean title: use_ssl protocol: type: string title: protocol title: ClickHouseMetadata additionalProperties: false textql.rpc.public.connector.Connector: type: object allOf: - type: object properties: id: type: integer title: id format: int32 name: type: string title: name connectorType: title: connector_type $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorType' memberId: type: string title: member_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' isExample: type: boolean title: is_example allowSqlWriteOperations: type: boolean title: allow_sql_write_operations authStrategy: type: string title: auth_strategy authenticatedByMemberId: type: string title: authenticated_by_member_id memberAuthenticated: type: boolean title: member_authenticated nullable: true memberAuthUsername: type: string title: member_auth_username nullable: true includeDbSessionMetadata: type: boolean title: include_db_session_metadata isPublic: type: boolean title: is_public - oneOf: - type: object properties: athenaMetadata: title: athena_metadata $ref: '#/components/schemas/textql.rpc.public.connector.AthenaMetadata' title: athena_metadata required: - athenaMetadata - type: object properties: auroraMetadata: title: aurora_metadata $ref: '#/components/schemas/textql.rpc.public.connector.AuroraMetadata' title: aurora_metadata required: - auroraMetadata - type: object properties: azureSynapseMetadata: title: azure_synapse_metadata $ref: '#/components/schemas/textql.rpc.public.connector.AzureSynapseMetadata' title: azure_synapse_metadata required: - azureSynapseMetadata - type: object properties: bigqueryMetadata: title: bigquery_metadata $ref: '#/components/schemas/textql.rpc.public.connector.BigQueryMetadata' title: bigquery_metadata required: - bigqueryMetadata - type: object properties: clickhouseMetadata: title: clickhouse_metadata $ref: '#/components/schemas/textql.rpc.public.connector.ClickHouseMetadata' title: clickhouse_metadata required: - clickhouseMetadata - type: object properties: databricksMetadata: title: databricks_metadata $ref: '#/components/schemas/textql.rpc.public.connector.DatabricksMetadata' title: databricks_metadata required: - databricksMetadata - type: object properties: dremioMetadata: title: dremio_metadata $ref: '#/components/schemas/textql.rpc.public.connector.DremioMetadata' title: dremio_metadata required: - dremioMetadata - type: object properties: exasolMetadata: title: exasol_metadata $ref: '#/components/schemas/textql.rpc.public.connector.ExasolMetadata' title: exasol_metadata required: - exasolMetadata - type: object properties: fireboltMetadata: title: firebolt_metadata $ref: '#/components/schemas/textql.rpc.public.connector.FireboltMetadata' title: firebolt_metadata required: - fireboltMetadata - type: object properties: gmailMetadata: title: gmail_metadata $ref: '#/components/schemas/textql.rpc.public.connector.GmailMetadata' title: gmail_metadata required: - gmailMetadata - type: object properties: googleCalendarMetadata: title: google_calendar_metadata $ref: '#/components/schemas/textql.rpc.public.connector.GoogleCalendarMetadata' title: google_calendar_metadata required: - googleCalendarMetadata - type: object properties: googleDriveMetadata: title: google_drive_metadata $ref: '#/components/schemas/textql.rpc.public.connector.GoogleDriveMetadata' title: google_drive_metadata required: - googleDriveMetadata - type: object properties: googleMetadata: title: google_metadata $ref: '#/components/schemas/textql.rpc.public.connector.GoogleMetadata' title: google_metadata required: - googleMetadata - type: object properties: kdbMetadata: title: kdb_metadata $ref: '#/components/schemas/textql.rpc.public.connector.KdbMetadata' title: kdb_metadata required: - kdbMetadata - type: object properties: microsoft365Metadata: title: microsoft_365_metadata $ref: '#/components/schemas/textql.rpc.public.connector.Microsoft365Metadata' title: microsoft_365_metadata required: - microsoft365Metadata - type: object properties: mongodbMetadata: title: mongodb_metadata $ref: '#/components/schemas/textql.rpc.public.connector.MongoDBMetadata' title: mongodb_metadata required: - mongodbMetadata - type: object properties: motherduckMetadata: title: motherduck_metadata $ref: '#/components/schemas/textql.rpc.public.connector.MotherduckMetadata' title: motherduck_metadata required: - motherduckMetadata - type: object properties: mysqlMetadata: title: mysql_metadata $ref: '#/components/schemas/textql.rpc.public.connector.MYSQLMetadata' title: mysql_metadata required: - mysqlMetadata - type: object properties: oracleMetadata: title: oracle_metadata $ref: '#/components/schemas/textql.rpc.public.connector.OracleMetadata' title: oracle_metadata required: - oracleMetadata - type: object properties: postgresMetadata: title: postgres_metadata $ref: '#/components/schemas/textql.rpc.public.connector.PostgresMetadata' title: postgres_metadata required: - postgresMetadata - type: object properties: powerbiMetadata: title: powerbi_metadata $ref: '#/components/schemas/textql.rpc.public.connector.PowerBIMetadata' title: powerbi_metadata required: - powerbiMetadata - type: object properties: redshiftMetadata: title: redshift_metadata $ref: '#/components/schemas/textql.rpc.public.connector.RedshiftMetadata' title: redshift_metadata required: - redshiftMetadata - type: object properties: sapHanaMetadata: title: sap_hana_metadata $ref: '#/components/schemas/textql.rpc.public.connector.SAPHanaMetadata' title: sap_hana_metadata required: - sapHanaMetadata - type: object properties: snowflakeMetadata: title: snowflake_metadata $ref: '#/components/schemas/textql.rpc.public.connector.SnowflakeMetadata' title: snowflake_metadata required: - snowflakeMetadata - type: object properties: sqlServerMetadata: title: sql_server_metadata $ref: '#/components/schemas/textql.rpc.public.connector.SQLServerMetadata' title: sql_server_metadata required: - sqlServerMetadata - type: object properties: supabaseMetadata: title: supabase_metadata $ref: '#/components/schemas/textql.rpc.public.connector.SupabaseMetadata' title: supabase_metadata required: - supabaseMetadata - type: object properties: tableauMetadata: title: tableau_metadata $ref: '#/components/schemas/textql.rpc.public.connector.TableauMetadata' title: tableau_metadata required: - tableauMetadata - type: object properties: trinoMetadata: title: trino_metadata $ref: '#/components/schemas/textql.rpc.public.connector.TrinoMetadata' title: trino_metadata required: - trinoMetadata title: Connector additionalProperties: false textql.rpc.public.connector.ConnectorAccessConfig: type: object properties: isPublic: type: boolean title: is_public grants: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorAccessGrant' title: grants title: ConnectorAccessConfig additionalProperties: false textql.rpc.public.connector.ConnectorAccessGrant: type: object properties: memberId: type: string title: member_id roleId: type: string title: role_id groupId: type: string title: group_id accessType: type: string title: access_type title: ConnectorAccessGrant additionalProperties: false textql.rpc.public.connector.ConnectorCellDuration: type: object properties: cellId: type: string title: cell_id chatId: type: string title: chat_id durationMs: type: - integer - string title: duration_ms format: int64 hasDuration: type: boolean title: has_duration startedAt: title: started_at $ref: '#/components/schemas/google.protobuf.Timestamp' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' executionError: type: string title: execution_error memberId: type: string title: member_id title: ConnectorCellDuration additionalProperties: false textql.rpc.public.connector.ConnectorChat: type: object properties: chatId: type: string title: chat_id summary: type: string title: summary memberId: type: string title: member_id displayName: type: string title: display_name email: type: string title: email queryCount: type: - integer - string title: query_count format: int64 lastActivity: title: last_activity $ref: '#/components/schemas/google.protobuf.Timestamp' tables: type: array items: type: string title: tables pictureUrl: type: string title: picture_url title: ConnectorChat additionalProperties: false textql.rpc.public.connector.ConnectorChatStats: type: object properties: chatsThisWeek: type: - integer - string title: chats_this_week format: int64 chatsLastWeek: type: - integer - string title: chats_last_week format: int64 activeUsers: type: - integer - string title: active_users format: int64 activeUsersLastWeek: type: - integer - string title: active_users_last_week format: int64 avgQueriesPerChat: type: number title: avg_queries_per_chat format: double totalChats: type: - integer - string title: total_chats format: int64 title: ConnectorChatStats additionalProperties: false textql.rpc.public.connector.ConnectorConfig: type: object allOf: - type: object properties: connectorType: title: connector_type $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorType' name: type: string title: name authStrategy: type: string title: auth_strategy - oneOf: - type: object properties: athena: title: athena $ref: '#/components/schemas/textql.rpc.public.connector.AthenaMetadata' title: athena required: - athena - type: object properties: aurora: title: aurora $ref: '#/components/schemas/textql.rpc.public.connector.AuroraMetadata' title: aurora required: - aurora - type: object properties: azureSynapse: title: azure_synapse $ref: '#/components/schemas/textql.rpc.public.connector.AzureSynapseMetadata' title: azure_synapse required: - azureSynapse - type: object properties: bigquery: title: bigquery $ref: '#/components/schemas/textql.rpc.public.connector.BigQueryMetadata' title: bigquery required: - bigquery - type: object properties: clickhouse: title: clickhouse $ref: '#/components/schemas/textql.rpc.public.connector.ClickHouseMetadata' title: clickhouse required: - clickhouse - type: object properties: databricks: title: databricks $ref: '#/components/schemas/textql.rpc.public.connector.DatabricksMetadata' title: databricks required: - databricks - type: object properties: dremio: title: dremio $ref: '#/components/schemas/textql.rpc.public.connector.DremioMetadata' title: dremio required: - dremio - type: object properties: exasol: title: exasol $ref: '#/components/schemas/textql.rpc.public.connector.ExasolMetadata' title: exasol required: - exasol - type: object properties: firebolt: title: firebolt $ref: '#/components/schemas/textql.rpc.public.connector.FireboltMetadata' title: firebolt required: - firebolt - type: object properties: gmail: title: gmail $ref: '#/components/schemas/textql.rpc.public.connector.GmailMetadata' title: gmail required: - gmail - type: object properties: google: title: google $ref: '#/components/schemas/textql.rpc.public.connector.GoogleMetadata' title: google required: - google - type: object properties: googleCalendar: title: google_calendar $ref: '#/components/schemas/textql.rpc.public.connector.GoogleCalendarMetadata' title: google_calendar required: - googleCalendar - type: object properties: googleDrive: title: google_drive $ref: '#/components/schemas/textql.rpc.public.connector.GoogleDriveMetadata' title: google_drive required: - googleDrive - type: object properties: kdb: title: kdb $ref: '#/components/schemas/textql.rpc.public.connector.KdbMetadata' title: kdb required: - kdb - type: object properties: microsoft365: title: microsoft_365 $ref: '#/components/schemas/textql.rpc.public.connector.Microsoft365Metadata' title: microsoft_365 required: - microsoft365 - type: object properties: mongodb: title: mongodb $ref: '#/components/schemas/textql.rpc.public.connector.MongoDBMetadata' title: mongodb required: - mongodb - type: object properties: motherduck: title: motherduck $ref: '#/components/schemas/textql.rpc.public.connector.MotherduckMetadata' title: motherduck required: - motherduck - type: object properties: mysql: title: mysql $ref: '#/components/schemas/textql.rpc.public.connector.MYSQLMetadata' title: mysql required: - mysql - type: object properties: oracle: title: oracle $ref: '#/components/schemas/textql.rpc.public.connector.OracleMetadata' title: oracle required: - oracle - type: object properties: postgres: title: postgres $ref: '#/components/schemas/textql.rpc.public.connector.PostgresMetadata' title: postgres required: - postgres - type: object properties: powerbi: title: powerbi $ref: '#/components/schemas/textql.rpc.public.connector.PowerBIMetadata' title: powerbi required: - powerbi - type: object properties: redshift: title: redshift $ref: '#/components/schemas/textql.rpc.public.connector.RedshiftMetadata' title: redshift required: - redshift - type: object properties: sapHana: title: sap_hana $ref: '#/components/schemas/textql.rpc.public.connector.SAPHanaMetadata' title: sap_hana required: - sapHana - type: object properties: snowflake: title: snowflake $ref: '#/components/schemas/textql.rpc.public.connector.SnowflakeMetadata' title: snowflake required: - snowflake - type: object properties: sqlServer: title: sql_server $ref: '#/components/schemas/textql.rpc.public.connector.SQLServerMetadata' title: sql_server required: - sqlServer - type: object properties: supabase: title: supabase $ref: '#/components/schemas/textql.rpc.public.connector.SupabaseMetadata' title: supabase required: - supabase - type: object properties: tableau: title: tableau $ref: '#/components/schemas/textql.rpc.public.connector.TableauMetadata' title: tableau required: - tableau - type: object properties: trino: title: trino $ref: '#/components/schemas/textql.rpc.public.connector.TrinoMetadata' title: trino required: - trino title: ConnectorConfig additionalProperties: false textql.rpc.public.connector.ConnectorContext: type: object allOf: - type: object properties: connectorId: type: integer title: connector_id format: int32 - oneOf: - type: object properties: powerbi: title: powerbi $ref: '#/components/schemas/textql.rpc.public.connector.PowerBIConnectorContext' title: powerbi required: - powerbi - type: object properties: tableau: title: tableau $ref: '#/components/schemas/textql.rpc.public.connector.TableauConnectorContext' title: tableau required: - tableau title: ConnectorContext additionalProperties: false textql.rpc.public.connector.ConnectorDashboard: type: object properties: dashboardId: type: string title: dashboard_id name: type: string title: name memberId: type: string title: member_id displayName: type: string title: display_name email: type: string title: email queryCount: type: - integer - string title: query_count format: int64 lastActivity: title: last_activity $ref: '#/components/schemas/google.protobuf.Timestamp' tables: type: array items: type: string title: tables pictureUrl: type: string title: picture_url title: ConnectorDashboard additionalProperties: false textql.rpc.public.connector.ConnectorDashboardStats: type: object properties: dashboardsThisWeek: type: - integer - string title: dashboards_this_week format: int64 dashboardsLastWeek: type: - integer - string title: dashboards_last_week format: int64 activeUsers: type: - integer - string title: active_users format: int64 activeUsersLastWeek: type: - integer - string title: active_users_last_week format: int64 avgQueriesPerDashboard: type: number title: avg_queries_per_dashboard format: double totalDashboards: type: - integer - string title: total_dashboards format: int64 title: ConnectorDashboardStats additionalProperties: false textql.rpc.public.connector.ConnectorStatEntry: type: object properties: connectorId: type: integer title: connector_id format: int32 description: The text content of this segment queryCount: type: - integer - string title: query_count format: int64 description: If set, this is a feature word to be styled errorRate: type: number title: error_rate format: double avgQueryTimeMs: type: - integer - string title: avg_query_time_ms format: int64 uniqueUsers: type: integer title: unique_users format: int32 lastQueriedAt: title: last_queried_at $ref: '#/components/schemas/google.protobuf.Timestamp' tableCount: type: integer title: table_count format: int32 title: ConnectorStatEntry additionalProperties: false description: A segment of an example query message - either plain text or a styled feature word textql.rpc.public.connector.ConnectorTable: type: object properties: tableDatabase: type: string title: table_database tableSchema: type: string title: table_schema tableName: type: string title: table_name preview: title: preview $ref: '#/components/schemas/textql.rpc.public.connector.QueryResult' primaryKeys: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.PrimaryKeyMetadata' title: primary_keys tableType: type: string title: table_type title: ConnectorTable additionalProperties: false textql.rpc.public.connector.ConnectorType: type: string title: ConnectorType enum: - CONNECTOR_TYPE_UNSPECIFIED - REDSHIFT - SNOWFLAKE - BIGQUERY - AZURE_SYNAPSE - AURORA - TABLEAU - DATABRICKS - SUPABASE - POSTGRES - MOTHERDUCK - CLICKHOUSE - MYSQL - ATHENA - GOOGLE_DRIVE - POWERBI - SQL_SERVER - MICROSOFT_365 - SAP_HANA - ORACLE - GMAIL - ANA_INTERNAL - TRINO - GOOGLE_CALENDAR - GOOGLE - DREMIO - EXASOL - FIREBOLT - KDB - MONGODB - ANA_BILLING textql.rpc.public.connector.CreateConnectorRequest: type: object properties: config: title: config $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorConfig' allowSqlWriteOperations: type: boolean title: allow_sql_write_operations nullable: true includeDbSessionMetadata: type: boolean title: include_db_session_metadata nullable: true access: title: access $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorAccessConfig' title: CreateConnectorRequest additionalProperties: false textql.rpc.public.connector.CreateConnectorResponse: type: object properties: connectorId: type: integer title: connector_id format: int32 name: type: string title: name connectorType: title: connector_type $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorType' title: CreateConnectorResponse additionalProperties: false textql.rpc.public.connector.DailyDuration: type: object properties: date: type: string title: date totalMs: type: - integer - string title: total_ms format: int64 title: DailyDuration additionalProperties: false textql.rpc.public.connector.DailyQueryCount: type: object properties: date: type: string title: date count: type: - integer - string title: count format: int64 title: DailyQueryCount additionalProperties: false textql.rpc.public.connector.DatabricksMetadata: type: object properties: host: type: string title: host httpPath: type: string title: http_path port: type: integer title: port format: int32 databricksAuth: title: databricks_auth $ref: '#/components/schemas/textql.rpc.public.connector.DatabricksMetadata.DatabricksAuth' catalog: type: string title: catalog schema: type: string title: schema enableTokenExchange: type: boolean title: enable_token_exchange title: DatabricksMetadata additionalProperties: false textql.rpc.public.connector.DatabricksMetadata.DatabricksAuth: type: object oneOf: - type: object properties: clientCredentials: title: client_credentials $ref: '#/components/schemas/textql.rpc.public.connector.DatabricksMetadata.DatabricksAuth.ClientCredentials' title: client_credentials required: - clientCredentials - type: object properties: oauthU2m: title: oauth_u2m $ref: '#/components/schemas/textql.rpc.public.connector.DatabricksMetadata.DatabricksAuth.OAuthU2M' title: oauth_u2m required: - oauthU2m - type: object properties: pat: title: pat $ref: '#/components/schemas/textql.rpc.public.connector.DatabricksMetadata.DatabricksAuth.PersonalAccessToken' title: pat required: - pat title: DatabricksAuth additionalProperties: false textql.rpc.public.connector.DatabricksMetadata.DatabricksAuth.ClientCredentials: type: object properties: clientId: type: string title: client_id clientSecret: type: string title: client_secret title: ClientCredentials additionalProperties: false textql.rpc.public.connector.DatabricksMetadata.DatabricksAuth.OAuthU2M: type: object properties: clientId: type: string title: client_id clientSecret: type: string title: client_secret title: OAuthU2M additionalProperties: false textql.rpc.public.connector.DatabricksMetadata.DatabricksAuth.PersonalAccessToken: type: object properties: token: type: string title: token title: PersonalAccessToken additionalProperties: false textql.rpc.public.connector.DeleteConnectorRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: DeleteConnectorRequest additionalProperties: false textql.rpc.public.connector.DeleteConnectorResponse: type: object properties: success: type: boolean title: success title: DeleteConnectorResponse additionalProperties: false textql.rpc.public.connector.DremioMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password token: type: string title: token projectId: type: string title: project_id spaces: type: array items: type: string title: spaces sslMode: type: boolean title: ssl_mode title: DremioMetadata additionalProperties: false textql.rpc.public.connector.DuplicateConnectorRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: DuplicateConnectorRequest additionalProperties: false textql.rpc.public.connector.DuplicateConnectorResponse: type: object properties: connector: title: connector $ref: '#/components/schemas/textql.rpc.public.connector.Connector' title: DuplicateConnectorResponse additionalProperties: false textql.rpc.public.connector.ExampleQuery: type: object properties: id: type: string title: id description: dataset IDs for selected Tableau collections label: type: string title: label message: type: string title: message isMultiSource: type: boolean title: is_multi_source requiredConnectorIds: type: array items: type: integer format: int32 title: required_connector_ids category: type: string title: category segments: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.MessageSegment' title: segments requiredFeatures: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.FeatureType' title: required_features sourceContext: title: source_context nullable: true $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorContext' title: ExampleQuery additionalProperties: false textql.rpc.public.connector.ExasolMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database schemas: type: array items: type: string title: schemas sslMode: type: boolean title: ssl_mode accessToken: type: string title: access_token title: ExasolMetadata additionalProperties: false textql.rpc.public.connector.ExecuteQueryRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 query: type: string title: query limit: type: integer title: limit format: int32 nullable: true title: ExecuteQueryRequest additionalProperties: false textql.rpc.public.connector.ExecuteQueryResponse: type: object properties: arrowData: type: string title: arrow_data format: byte success: type: boolean title: success errorMessage: type: string title: error_message title: ExecuteQueryResponse additionalProperties: false textql.rpc.public.connector.FeatureType: type: string title: FeatureType enum: - FEATURE_TYPE_UNSPECIFIED - FEATURE_TYPE_REPORT - FEATURE_TYPE_PLAYBOOK - FEATURE_TYPE_DASHBOARD - FEATURE_TYPE_DATA_APP - FEATURE_TYPE_AGENT description: Feature types for nudge queries - identifies which feature a query promotes textql.rpc.public.connector.FireboltMetadata: type: object properties: accountName: type: string title: account_name database: type: string title: database engineName: type: string title: engine_name clientId: type: string title: client_id clientSecret: type: string title: client_secret schemas: type: array items: type: string title: schemas title: FireboltMetadata additionalProperties: false textql.rpc.public.connector.GetConnectorCellDurationsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 days: type: integer title: days format: int32 limit: type: integer title: limit format: int32 offset: type: integer title: offset format: int32 title: GetConnectorCellDurationsRequest additionalProperties: false textql.rpc.public.connector.GetConnectorCellDurationsResponse: type: object properties: cells: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorCellDuration' title: cells totalCount: type: - integer - string title: total_count format: int64 title: GetConnectorCellDurationsResponse additionalProperties: false textql.rpc.public.connector.GetConnectorChatsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: GetConnectorChatsRequest additionalProperties: false textql.rpc.public.connector.GetConnectorChatsResponse: type: object properties: stats: title: stats $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorChatStats' chats: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorChat' title: chats title: GetConnectorChatsResponse additionalProperties: false textql.rpc.public.connector.GetConnectorDashboardsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: GetConnectorDashboardsRequest additionalProperties: false textql.rpc.public.connector.GetConnectorDashboardsResponse: type: object properties: stats: title: stats $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorDashboardStats' dashboards: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorDashboard' title: dashboards title: GetConnectorDashboardsResponse additionalProperties: false textql.rpc.public.connector.GetConnectorRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: GetConnectorRequest additionalProperties: false textql.rpc.public.connector.GetConnectorResponse: type: object properties: connector: title: connector $ref: '#/components/schemas/textql.rpc.public.connector.Connector' title: GetConnectorResponse additionalProperties: false textql.rpc.public.connector.GetConnectorStatsRequest: type: object properties: days: type: integer title: days format: int32 title: GetConnectorStatsRequest additionalProperties: false textql.rpc.public.connector.GetConnectorStatsResponse: type: object properties: stats: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorStatEntry' title: stats title: GetConnectorStatsResponse additionalProperties: false textql.rpc.public.connector.GetConnectorUsageRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 days: type: integer title: days format: int32 title: GetConnectorUsageRequest additionalProperties: false textql.rpc.public.connector.GetConnectorUsageResponse: type: object properties: dailyVolume: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.DailyQueryCount' title: daily_volume topUsers: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.TopUser' title: top_users totalQueries: type: - integer - string title: total_queries format: int64 dailyExecutionMs: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.DailyDuration' title: daily_execution_ms title: GetConnectorUsageResponse additionalProperties: false textql.rpc.public.connector.GetConnectorsRequest: type: object title: GetConnectorsRequest additionalProperties: false textql.rpc.public.connector.GetConnectorsResponse: type: object properties: connectors: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.Connector' title: connectors title: GetConnectorsResponse additionalProperties: false textql.rpc.public.connector.GetExampleQueriesRequest: type: object properties: connectorContexts: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorContext' title: connector_contexts featureFilter: title: feature_filter nullable: true $ref: '#/components/schemas/textql.rpc.public.connector.FeatureType' title: GetExampleQueriesRequest additionalProperties: false textql.rpc.public.connector.GetExampleQueriesResponse: type: object properties: examples: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.ExampleQuery' title: examples description: PowerBI report IDs title: GetExampleQueriesResponse additionalProperties: false textql.rpc.public.connector.GetTablePreviewRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 tableDatabase: type: string title: table_database tableSchema: type: string title: table_schema tableName: type: string title: table_name limit: type: integer title: limit format: int32 title: GetTablePreviewRequest additionalProperties: false textql.rpc.public.connector.GetTablePreviewResponse: type: object properties: arrowData: type: string title: arrow_data format: byte success: type: boolean title: success errorMessage: type: string title: error_message title: GetTablePreviewResponse additionalProperties: false textql.rpc.public.connector.GmailMetadata: type: object properties: accessToken: type: string title: access_token refreshToken: type: string title: refresh_token memberId: type: string title: member_id metadataOnly: type: boolean title: metadata_only title: GmailMetadata additionalProperties: false textql.rpc.public.connector.GoogleCalendarMetadata: type: object properties: accessToken: type: string title: access_token refreshToken: type: string title: refresh_token memberId: type: string title: member_id metadataOnly: type: boolean title: metadata_only title: GoogleCalendarMetadata additionalProperties: false textql.rpc.public.connector.GoogleDriveMetadata: type: object properties: accessToken: type: string title: access_token refreshToken: type: string title: refresh_token memberId: type: string title: member_id title: GoogleDriveMetadata additionalProperties: false textql.rpc.public.connector.GoogleMetadata: type: object properties: accessToken: type: string title: access_token refreshToken: type: string title: refresh_token memberId: type: string title: member_id gmailEnabled: type: boolean title: gmail_enabled calendarEnabled: type: boolean title: calendar_enabled metadataOnly: type: boolean title: metadata_only driveEnabled: type: boolean title: drive_enabled tokenExpiry: type: string title: token_expiry title: GoogleMetadata additionalProperties: false textql.rpc.public.connector.KdbMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password tls: type: boolean title: tls sshTunnelEnabled: type: boolean title: ssh_tunnel_enabled sshHost: type: string title: ssh_host sshPort: type: integer title: ssh_port format: int32 sshUser: type: string title: ssh_user description: PASSWORD, IAM_ROLE sshPrivateKey: type: string title: ssh_private_key sshHostPublicKey: type: string title: ssh_host_public_key title: KdbMetadata additionalProperties: false textql.rpc.public.connector.ListConnectorTablesRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 description: Apache Arrow IPC format binary data title: ListConnectorTablesRequest additionalProperties: false textql.rpc.public.connector.ListConnectorTablesResponse: type: object properties: tables: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorTable' title: tables error: type: string title: error title: ListConnectorTablesResponse additionalProperties: false textql.rpc.public.connector.ListQueryTemplatesRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 limit: type: integer title: limit format: int32 offset: type: integer title: offset format: int32 description: 0.0-1.0 days: type: integer title: days format: int32 description: milliseconds title: ListQueryTemplatesRequest additionalProperties: false textql.rpc.public.connector.ListQueryTemplatesResponse: type: object properties: templates: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.QueryTemplate' title: templates description: 0 = all-time totalCount: type: integer title: total_count format: int32 title: ListQueryTemplatesResponse additionalProperties: false textql.rpc.public.connector.MYSQLMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database schema: type: string title: schema sslMode: type: boolean title: ssl_mode title: MYSQLMetadata additionalProperties: false textql.rpc.public.connector.MessageSegment: type: object properties: content: type: string title: content featureType: title: feature_type nullable: true $ref: '#/components/schemas/textql.rpc.public.connector.FeatureType' title: MessageSegment additionalProperties: false textql.rpc.public.connector.Microsoft365Metadata: type: object properties: tenantId: type: string title: tenant_id clientId: type: string title: client_id clientSecret: type: string title: client_secret accessToken: type: string title: access_token refreshToken: type: string title: refresh_token memberId: type: string title: member_id tokenExpiry: type: string title: token_expiry metadataOnly: type: boolean title: metadata_only scopes: type: array items: type: string title: scopes title: Microsoft365Metadata additionalProperties: false textql.rpc.public.connector.MongoDBMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database authSource: type: string title: auth_source tls: type: boolean title: tls srv: type: boolean title: srv title: MongoDBMetadata additionalProperties: false textql.rpc.public.connector.MotherduckMetadata: type: object properties: token: type: string title: token title: MotherduckMetadata additionalProperties: false textql.rpc.public.connector.OracleMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password serviceName: type: string title: service_name dialect: type: string title: dialect sslMode: type: boolean title: ssl_mode connectionType: type: string title: connection_type sid: type: string title: sid connectString: type: string title: connect_string walletZip: type: string title: wallet_zip walletPassword: type: string title: wallet_password tnsAlias: type: string title: tns_alias title: OracleMetadata additionalProperties: false textql.rpc.public.connector.PostgresMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database schemas: type: array items: type: string title: schemas dialect: type: string title: dialect sslMode: type: boolean title: ssl_mode sshTunnelEnabled: type: boolean title: ssh_tunnel_enabled sshHost: type: string title: ssh_host sshPort: type: integer title: ssh_port format: int32 sshUser: type: string title: ssh_user sshPrivateKey: type: string title: ssh_private_key sshHostPublicKey: type: string title: ssh_host_public_key secretsManagerSecretArn: type: string title: secrets_manager_secret_arn secretsManagerRoleArn: type: string title: secrets_manager_role_arn secretsManagerExternalId: type: string title: secrets_manager_external_id title: PostgresMetadata additionalProperties: false textql.rpc.public.connector.PowerBIConnectorContext: type: object properties: reportIds: type: array items: type: string title: report_ids datasetIds: type: array items: type: string title: dataset_ids description: If set, only return queries with this feature type collectionIds: type: array items: type: string title: collection_ids title: PowerBIConnectorContext additionalProperties: false textql.rpc.public.connector.PowerBIMetadata: type: object properties: tenantId: type: string title: tenant_id clientId: type: string title: client_id clientSecret: type: string title: client_secret objectId: type: string title: object_id nullable: true roles: type: string title: roles nullable: true title: PowerBIMetadata additionalProperties: false textql.rpc.public.connector.PrimaryKeyMetadata: type: object properties: columns: type: array items: type: string title: columns descriptions: type: array items: type: string title: descriptions title: PrimaryKeyMetadata additionalProperties: false textql.rpc.public.connector.QueryJoinInfo: type: object properties: tables: type: array items: type: string title: tables joinType: type: string title: join_type title: QueryJoinInfo additionalProperties: false textql.rpc.public.connector.QueryResult: type: object properties: arrowData: type: string title: arrow_data format: byte totalRows: type: - integer - string title: total_rows format: int64 title: QueryResult additionalProperties: false textql.rpc.public.connector.QueryTemplate: type: object properties: templateId: type: string title: template_id normalizedSql: type: string title: normalized_sql tables: type: array items: type: string title: tables joins: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.QueryJoinInfo' title: joins eventCount: type: - integer - string title: event_count format: int64 firstSeen: title: first_seen $ref: '#/components/schemas/google.protobuf.Timestamp' lastSeen: title: last_seen $ref: '#/components/schemas/google.protobuf.Timestamp' cteRefs: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.QueryTemplateCteRef' title: cte_refs avgRuntimeMs: type: integer title: avg_runtime_ms format: int32 title: QueryTemplate additionalProperties: false textql.rpc.public.connector.QueryTemplateCteRef: type: object properties: templateId: type: string title: template_id cteName: type: string title: cte_name title: QueryTemplateCteRef additionalProperties: false textql.rpc.public.connector.RedshiftMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database schemas: type: array items: type: string title: schemas dialect: type: string title: dialect sslMode: type: boolean title: ssl_mode authType: type: string title: auth_type roleArn: type: string title: role_arn region: type: string title: region clusterId: type: string title: cluster_id groupFederation: type: boolean title: group_federation awsAccessKeyId: type: string title: aws_access_key_id awsSecretAccessKey: type: string title: aws_secret_access_key title: RedshiftMetadata additionalProperties: false textql.rpc.public.connector.SAPHanaMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database schemas: type: array items: type: string title: schemas dialect: type: string title: dialect sslMode: type: boolean title: ssl_mode sapHanaCloud: type: boolean title: sap_hana_cloud title: SAPHanaMetadata additionalProperties: false textql.rpc.public.connector.SQLServerMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database schema: type: string title: schema sslMode: type: boolean title: ssl_mode authType: type: string title: auth_type krb5Realm: type: string title: krb5_realm krb5Config: type: string title: krb5_config krb5Keytab: type: string title: krb5_keytab krb5Spn: type: string title: krb5_spn clientCert: type: string title: client_cert clientKey: type: string title: client_key tenantId: type: string title: tenant_id clientId: type: string title: client_id clientSecret: type: string title: client_secret title: SQLServerMetadata additionalProperties: false textql.rpc.public.connector.SnowflakeMetadata: type: object properties: username: type: string title: username password: type: string title: password privateKey: type: string title: private_key privateKeyPassphrase: type: string title: private_key_passphrase role: type: string title: role description: default database to query schema: type: string title: schema description: authSource (e.g. "admin"); defaults to database when empty locator: type: string title: locator database: type: string title: database description: mongodb+srv connection (Atlas) — host is the cluster DNS name warehouse: type: string title: warehouse oauthAccessToken: type: string title: oauth_access_token oauthRefreshToken: type: string title: oauth_refresh_token oauthClientId: type: string title: oauth_client_id oauthClientSecret: type: string title: oauth_client_secret enableSsoAuth: type: boolean title: enable_sso_auth tokenExchangeEndpoint: type: string title: token_exchange_endpoint tokenExchangeAudience: type: string title: token_exchange_audience tokenExchangeScope: type: string title: token_exchange_scope title: SnowflakeMetadata additionalProperties: false textql.rpc.public.connector.SupabaseMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password database: type: string title: database schemas: type: array items: type: string title: schemas description: SSH tunnel / bastion host fields dialect: type: string title: dialect sslMode: type: boolean title: ssl_mode title: SupabaseMetadata additionalProperties: false description: |- KdbMetadata configures a kdb+ (kx/q) connector. kdb+ speaks its own binary IPC protocol (not SQL), so queries are qSQL strings; see pkg/connectors/kdbipc. textql.rpc.public.connector.TableauConnectorContext: type: object properties: collectionIds: type: array items: type: string title: collection_ids title: TableauConnectorContext additionalProperties: false textql.rpc.public.connector.TableauMetadata: type: object properties: serverUrl: type: string title: server_url siteName: type: string title: site_name patName: type: string title: pat_name patSecret: type: string title: pat_secret connectedAppClientId: type: string title: connected_app_client_id nullable: true connectedAppSecretId: type: string title: connected_app_secret_id nullable: true connectedAppSecretValue: type: string title: connected_app_secret_value nullable: true title: TableauMetadata additionalProperties: false textql.rpc.public.connector.TestConnectorRequest: type: object properties: config: title: config $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorConfig' connectorId: type: string title: connector_id nullable: true title: TestConnectorRequest additionalProperties: false textql.rpc.public.connector.TestConnectorResponse: type: object properties: success: type: boolean title: success error: type: string title: error title: TestConnectorResponse additionalProperties: false textql.rpc.public.connector.TopUser: type: object properties: memberId: type: string title: member_id displayName: type: string title: display_name email: type: string title: email queryCount: type: - integer - string title: query_count format: int64 chatCount: type: - integer - string title: chat_count format: int64 pictureUrl: type: string title: picture_url title: TopUser additionalProperties: false textql.rpc.public.connector.TrinoMetadata: type: object properties: host: type: string title: host port: type: integer title: port format: int32 user: type: string title: user password: type: string title: password catalog: type: string title: catalog schema: type: string title: schema sslMode: type: boolean title: ssl_mode description: ISO 8601 timestamp accessToken: type: string title: access_token description: When true, only email metadata is accessible (no body content) skipTlsVerify: type: boolean title: skip_tls_verify title: TrinoMetadata additionalProperties: false textql.rpc.public.connector.UpdateConnectorRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 config: title: config $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorConfig' allowSqlWriteOperations: type: boolean title: allow_sql_write_operations nullable: true includeDbSessionMetadata: type: boolean title: include_db_session_metadata nullable: true title: UpdateConnectorRequest additionalProperties: false textql.rpc.public.connector.UpdateConnectorResponse: type: object properties: connector: title: connector $ref: '#/components/schemas/textql.rpc.public.connector.Connector' title: UpdateConnectorResponse additionalProperties: false textql.rpc.public.dashboard.CheckDashboardHealthRequest: type: object properties: dashboardIds: type: array items: type: string title: dashboard_ids description: Batch check multiple dashboards title: CheckDashboardHealthRequest additionalProperties: false textql.rpc.public.dashboard.CheckDashboardHealthResponse: type: object properties: dashboards: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.CheckDashboardHealthResponse.DashboardHealth' title: dashboards title: CheckDashboardHealthResponse additionalProperties: false textql.rpc.public.dashboard.CheckDashboardHealthResponse.DashboardHealth: type: object properties: dashboardId: type: string title: dashboard_id status: title: status $ref: '#/components/schemas/textql.rpc.public.dashboard.CheckDashboardHealthResponse.HealthStatus' errorMessage: type: string title: error_message nullable: true streamlitUrl: type: string title: streamlit_url nullable: true embedUrl: type: string title: embed_url nullable: true refreshedAt: title: refreshed_at description: When dashboard was last refreshed nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' code: type: string title: code description: Current dashboard code nullable: true dataSources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: data_sources description: Current data sources dashboardStatus: title: dashboard_status description: Dashboard metadata (workflow and schedule state) Draft vs Published status $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardStatus' publishedCode: type: string title: published_code description: Code that runs on schedule nullable: true publishedAt: title: published_at description: When dashboard was published nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' scheduleEnabled: type: boolean title: schedule_enabled description: Whether scheduled runs are enabled cronString: type: string title: cron_string description: Schedule expression nullable: true warnings: type: array items: type: string title: warnings description: Non-fatal warnings (e.g. data source truncation) title: DashboardHealth additionalProperties: false textql.rpc.public.dashboard.CheckDashboardHealthResponse.HealthStatus: type: string title: HealthStatus enum: - HEALTH_STATUS_NOT_RUNNING - HEALTH_STATUS_HEALTHY - HEALTH_STATUS_STARTING - HEALTH_STATUS_FAILED - HEALTH_STATUS_UPDATING textql.rpc.public.dashboard.CreateDashboardFolderRequest: type: object properties: name: type: string title: name parentId: type: string title: parent_id nullable: true title: CreateDashboardFolderRequest additionalProperties: false description: Folder management messages textql.rpc.public.dashboard.CreateDashboardFolderResponse: type: object properties: folder: title: folder $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardFolder' title: CreateDashboardFolderResponse additionalProperties: false textql.rpc.public.dashboard.CreateDashboardRequest: type: object properties: name: type: string title: name description: type: string title: description nullable: true code: type: string title: code type: title: type $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardType' htmlUrl: type: string title: html_url nullable: true chatId: type: string title: chat_id nullable: true cellId: type: string title: cell_id nullable: true folderId: type: string title: folder_id nullable: true title: CreateDashboardRequest additionalProperties: false textql.rpc.public.dashboard.CreateDashboardResponse: type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: CreateDashboardResponse additionalProperties: false textql.rpc.public.dashboard.Dashboard: type: object properties: id: type: string title: id orgId: type: string title: org_id creatorId: type: string title: creator_id name: type: string title: name description: type: string title: description nullable: true code: type: string title: code type: title: type $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardType' chatId: type: string title: chat_id nullable: true cellId: type: string title: cell_id nullable: true isPublic: type: boolean title: is_public screenshotUrl: type: string title: screenshot_url nullable: true htmlUrl: type: string title: html_url description: URL for serving HTML dashboards nullable: true createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' refreshedAt: title: refreshed_at description: Last time dashboard was executed (manual or scheduled) nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' creator: title: creator description: Enriched fields (not stored in DB) nullable: true $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardCreator' streamlitUrl: type: string title: streamlit_url description: Active URL if spawned nullable: true status: title: status description: Workflow fields $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardStatus' publishedCode: type: string title: published_code nullable: true publishedAt: title: published_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' hasUnpublishedChanges: type: boolean title: has_unpublished_changes description: 'Computed: code != published_code' dataSources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: data_sources description: Data sources (SQL queries, uploaded files, etc.) scheduleEnabled: type: boolean title: schedule_enabled description: Scheduling cronString: type: string title: cron_string nullable: true latestScheduledRunAt: title: latest_scheduled_run_at description: Last time scheduled run was triggered nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' folderId: type: string title: folder_id description: Folder nullable: true configSource: title: config_source description: |- Config-management metadata (ADR-0014/0021). Present ⇒ the dashboard is defined by a `.dashboard` Library file: it is read-only in the UI (mutating RPCs are rejected) and changed only by editing its file. Clients detect config-management by presence, the same way they do for playbooks. nullable: true $ref: '#/components/schemas/textql.rpc.public.config_source.ConfigSource' isFavorited: type: boolean title: is_favorited description: per-caller pin state (enriched, not stored on the dashboard) title: Dashboard additionalProperties: false textql.rpc.public.dashboard.DashboardCreator: type: object properties: memberId: type: string title: member_id memberEmail: type: string title: member_email nullable: true memberName: type: string title: member_name nullable: true title: DashboardCreator additionalProperties: false textql.rpc.public.dashboard.DashboardFolder: type: object properties: id: type: string title: id orgId: type: string title: org_id parentId: type: string title: parent_id nullable: true name: type: string title: name creatorId: type: string title: creator_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' dashboardCount: type: integer title: dashboard_count format: int32 description: Direct dashboards in this folder totalDashboardCount: type: integer title: total_dashboard_count format: int32 description: Including nested folders children: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardFolder' title: children appCount: type: integer title: app_count format: int32 description: Direct apps in this folder totalAppCount: type: integer title: total_app_count format: int32 description: Including nested folders isFavorited: type: boolean title: is_favorited description: per-caller pin state (enriched, not stored on the folder) title: DashboardFolder additionalProperties: false description: Dashboard folder for hierarchical organization textql.rpc.public.dashboard.DashboardHealthEvent: type: object properties: dashboardId: type: string title: dashboard_id status: title: status $ref: '#/components/schemas/textql.rpc.public.dashboard.CheckDashboardHealthResponse.HealthStatus' errorMessage: type: string title: error_message nullable: true streamlitUrl: type: string title: streamlit_url nullable: true embedUrl: type: string title: embed_url nullable: true refreshedAt: title: refreshed_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' code: type: string title: code nullable: true dataSources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: data_sources dashboardStatus: title: dashboard_status $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardStatus' publishedCode: type: string title: published_code nullable: true publishedAt: title: published_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' scheduleEnabled: type: boolean title: schedule_enabled cronString: type: string title: cron_string nullable: true spawnPhase: type: string title: spawn_phase nullable: true warnings: type: array items: type: string title: warnings description: Non-fatal warnings (e.g. data source truncation) title: DashboardHealthEvent additionalProperties: false textql.rpc.public.dashboard.DashboardSortField: type: string title: DashboardSortField enum: - DASHBOARD_SORT_FIELD_UNSPECIFIED - DASHBOARD_SORT_FIELD_NAME - DASHBOARD_SORT_FIELD_CREATED_AT - DASHBOARD_SORT_FIELD_UPDATED_AT - DASHBOARD_SORT_FIELD_REFRESHED_AT textql.rpc.public.dashboard.DashboardStatus: type: string title: DashboardStatus enum: - DASHBOARD_STATUS_UNSPECIFIED - DASHBOARD_STATUS_DRAFT - DASHBOARD_STATUS_PUBLISHED textql.rpc.public.dashboard.DashboardType: type: string title: DashboardType enum: - DASHBOARD_TYPE_UNSPECIFIED - DASHBOARD_TYPE_STREAMLIT - DASHBOARD_TYPE_HTML - DASHBOARD_TYPE_DASH textql.rpc.public.dashboard.DashboardVersion: type: object properties: id: type: string title: id dashboardId: type: string title: dashboard_id versionNumber: type: integer title: version_number format: int32 code: type: string title: code dataSources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: data_sources name: type: string title: name description: type: string title: description nullable: true type: title: type $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardType' publishedBy: type: string title: published_by label: type: string title: label nullable: true publishedAt: title: published_at $ref: '#/components/schemas/google.protobuf.Timestamp' publisher: title: publisher description: Enriched field nullable: true $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardCreator' title: DashboardVersion additionalProperties: false description: Version history textql.rpc.public.dashboard.DashboardViewerInfo: type: object properties: memberId: type: string title: member_id lastViewed: title: last_viewed $ref: '#/components/schemas/google.protobuf.Timestamp' viewCount: type: integer title: view_count format: int32 displayName: type: string title: display_name nullable: true recentViewTimes: type: array items: $ref: '#/components/schemas/google.protobuf.Timestamp' title: recent_view_times title: DashboardViewerInfo additionalProperties: false textql.rpc.public.dashboard.DataSource: type: object allOf: - type: object properties: type: type: string title: type description: '"sql_query", "file", "python_code", "ontology_sql", or "library_tql"' name: type: string title: name parameters: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.QueryParameter' title: parameters description: Parameters for live parameterized queries (sql_query type only) grant: title: grant description: |- Optional author allowlist gating this source to specific org roles / members. Presence forces the source out of the published snapshot (live-only, viewer-enforced). $ref: '#/components/schemas/textql.rpc.public.dashboard.Grant' - oneOf: - type: object properties: file: title: file $ref: '#/components/schemas/textql.rpc.public.dashboard.FileSource' title: file required: - file - type: object properties: libraryTql: title: library_tql $ref: '#/components/schemas/textql.rpc.public.dashboard.LibraryTQLSource' title: library_tql required: - libraryTql - type: object properties: ontologySql: title: ontology_sql $ref: '#/components/schemas/textql.rpc.public.dashboard.OntologySqlSource' title: ontology_sql required: - ontologySql - type: object properties: pythonCode: title: python_code $ref: '#/components/schemas/textql.rpc.public.dashboard.PythonCodeSource' title: python_code required: - pythonCode - type: object properties: sqlQuery: title: sql_query $ref: '#/components/schemas/textql.rpc.public.dashboard.SqlQuerySource' title: sql_query required: - sqlQuery title: DataSource additionalProperties: false description: Unified data source for dashboards textql.rpc.public.dashboard.DataSourcesPatch: type: object properties: sources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: sources title: DataSourcesPatch additionalProperties: false textql.rpc.public.dashboard.DeleteDashboardFolderRequest: type: object properties: folderId: type: string title: folder_id title: DeleteDashboardFolderRequest additionalProperties: false textql.rpc.public.dashboard.DeleteDashboardRequest: type: object properties: dashboardId: type: string title: dashboard_id title: DeleteDashboardRequest additionalProperties: false textql.rpc.public.dashboard.DiscardDashboardChangesRequest: type: object properties: dashboardId: type: string title: dashboard_id title: DiscardDashboardChangesRequest additionalProperties: false textql.rpc.public.dashboard.DiscardDashboardChangesResponse: type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: DiscardDashboardChangesResponse additionalProperties: false textql.rpc.public.dashboard.DuplicateDashboardRequest: type: object properties: dashboardId: type: string title: dashboard_id name: type: string title: name description: Optional new name for the duplicate (defaults to "Copy of [original name]") nullable: true title: DuplicateDashboardRequest additionalProperties: false textql.rpc.public.dashboard.DuplicateDashboardResponse: type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: DuplicateDashboardResponse additionalProperties: false textql.rpc.public.dashboard.FileSource: type: object properties: datasetId: type: string title: dataset_id fileName: type: string title: file_name description: Original filename for display sheetIndex: type: integer title: sheet_index format: int32 description: Zero-based sheet index for multi-sheet files (default 0) title: FileSource additionalProperties: false textql.rpc.public.dashboard.GetDashboardRequest: type: object properties: dashboardId: type: string title: dashboard_id title: GetDashboardRequest additionalProperties: false textql.rpc.public.dashboard.GetDashboardResponse: type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' hasWritePermission: type: boolean title: has_write_permission title: GetDashboardResponse additionalProperties: false textql.rpc.public.dashboard.GetDashboardVersionRequest: type: object properties: dashboardId: type: string title: dashboard_id versionNumber: type: integer title: version_number format: int32 title: GetDashboardVersionRequest additionalProperties: false textql.rpc.public.dashboard.GetDashboardVersionResponse: type: object properties: version: title: version $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardVersion' title: GetDashboardVersionResponse additionalProperties: false textql.rpc.public.dashboard.GetDashboardViewStatsRequest: type: object properties: dashboardId: type: string title: dashboard_id title: GetDashboardViewStatsRequest additionalProperties: false description: View analytics textql.rpc.public.dashboard.GetDashboardViewStatsResponse: type: object properties: totalViews: type: integer title: total_views format: int32 uniqueViewers: type: integer title: unique_viewers format: int32 recentViewers: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardViewerInfo' title: recent_viewers title: GetDashboardViewStatsResponse additionalProperties: false textql.rpc.public.dashboard.GetMembersWithDashboardsRequest: type: object title: GetMembersWithDashboardsRequest additionalProperties: false textql.rpc.public.dashboard.GetMembersWithDashboardsResponse: type: object properties: members: type: array items: $ref: '#/components/schemas/textql.rpc.identity.MemberPreview' title: members title: GetMembersWithDashboardsResponse additionalProperties: false textql.rpc.public.dashboard.Grant: type: object properties: roles: type: array items: type: string title: roles description: org role names members: type: array items: type: string title: members description: explicit member ids title: Grant additionalProperties: false description: |- Grant is an author allowlist gating a data source or compute function. A viewer whose effective role names intersect roles, or whose member id is listed in members, may call it. Absent grant = org-visible (today's behavior); an empty grant object is invalid. textql.rpc.public.dashboard.LibraryTQLSource: type: object properties: tqlPath: type: string title: tql_path description: path to the .tql file in the Context Library (must end in .tql) connectorId: type: integer title: connector_id format: int32 description: SQL connector to execute the rendered query against paramsJson: type: string title: params_json description: JSON object mapping parameter names to values; "" means no params title: LibraryTQLSource additionalProperties: false description: |- References a .tql file stored in the Context Library. The file is rendered to SQL at fetch time and executed against the provided connector. Template parameter values are JSON-encoded in `params_json` (e.g. {"region":"EU"}). textql.rpc.public.dashboard.ListDashboardFoldersRequest: type: object title: ListDashboardFoldersRequest additionalProperties: false textql.rpc.public.dashboard.ListDashboardFoldersResponse: type: object properties: folders: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardFolder' title: folders description: Full tree, root-level folders with children populated title: ListDashboardFoldersResponse additionalProperties: false textql.rpc.public.dashboard.ListDashboardVersionsRequest: type: object properties: dashboardId: type: string title: dashboard_id limit: type: integer title: limit format: int32 offset: type: integer title: offset format: int32 title: ListDashboardVersionsRequest additionalProperties: false textql.rpc.public.dashboard.ListDashboardVersionsResponse: type: object properties: versions: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardVersion' title: versions totalCount: type: integer title: total_count format: int32 title: ListDashboardVersionsResponse additionalProperties: false textql.rpc.public.dashboard.ListDashboardsRequest: type: object properties: searchTerm: type: string title: search_term nullable: true myDashboardsOnly: type: boolean title: my_dashboards_only nullable: true sortBy: title: sort_by nullable: true $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardSortField' sortDirection: title: sort_direction nullable: true $ref: '#/components/schemas/textql.rpc.public.common.SortDirection' limit: type: integer title: limit format: int32 offset: type: integer title: offset format: int32 folderId: type: string title: folder_id description: Filter by specific folder nullable: true uncategorizedOnly: type: boolean title: uncategorized_only description: Only show dashboards with no folder nullable: true creatorMemberId: type: string title: creator_member_id description: Filter by specific creator member ID (single-select; superseded by creator_member_ids when non-empty) nullable: true sharedWithMe: type: boolean title: shared_with_me nullable: true creatorMemberIds: type: array items: type: string title: creator_member_ids description: Multi-select creator filter (union). Supersedes creator_member_id when non-empty. statusFilter: title: status_filter description: Filter by status (Draft / Published). Unset = all statuses. nullable: true $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardStatus' title: ListDashboardsRequest additionalProperties: false textql.rpc.public.dashboard.ListDashboardsResponse: type: object properties: dashboards: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: dashboards totalCount: type: integer title: total_count format: int32 title: ListDashboardsResponse additionalProperties: false textql.rpc.public.dashboard.MoveDashboardToFolderRequest: type: object properties: dashboardId: type: string title: dashboard_id folderId: type: string title: folder_id description: null/empty = move to root (uncategorized) nullable: true title: MoveDashboardToFolderRequest additionalProperties: false textql.rpc.public.dashboard.MoveDashboardToFolderResponse: type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: MoveDashboardToFolderResponse additionalProperties: false textql.rpc.public.dashboard.OntologySqlSource: type: object properties: query: type: string title: query dataset: type: string title: dataset ontologyId: type: integer title: ontology_id format: int32 title: OntologySqlSource additionalProperties: false textql.rpc.public.dashboard.PreviewConfigDashboardRequest: type: object properties: patchRef: type: string title: patch_ref description: git ref of the patch to preview from dashboardPath: type: string title: dashboard_path description: Library path of the .dashboard file title: PreviewConfigDashboardRequest additionalProperties: false description: |- PreviewConfigDashboard renders a config-managed dashboard from a patch ref before merge (ADR-0022). The previewing member + org come from auth context. textql.rpc.public.dashboard.PreviewConfigDashboardResponse: type: object properties: url: type: string title: url description: serving URL for the ephemeral preview embedUrl: type: string title: embed_url description: embeddable URL for the preview title: PreviewConfigDashboardResponse additionalProperties: false textql.rpc.public.dashboard.PublishDashboardRequest: type: object properties: dashboardId: type: string title: dashboard_id label: type: string title: label description: Optional version label/description nullable: true title: PublishDashboardRequest additionalProperties: false textql.rpc.public.dashboard.PublishDashboardResponse: type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: PublishDashboardResponse additionalProperties: false textql.rpc.public.dashboard.PythonCodeSource: type: object properties: code: type: string title: code title: PythonCodeSource additionalProperties: false textql.rpc.public.dashboard.QueryParameter: type: object properties: name: type: string title: name type: type: string title: type description: '"string", "int", "float", "date"' default: type: string title: default nullable: true title: QueryParameter additionalProperties: false textql.rpc.public.dashboard.RegenerateScreenshotRequest: type: object properties: dashboardId: type: string title: dashboard_id title: RegenerateScreenshotRequest additionalProperties: false textql.rpc.public.dashboard.RegenerateScreenshotResponse: type: object properties: screenshotUrl: type: string title: screenshot_url title: RegenerateScreenshotResponse additionalProperties: false textql.rpc.public.dashboard.RestoreDashboardVersionRequest: type: object properties: dashboardId: type: string title: dashboard_id versionNumber: type: integer title: version_number format: int32 title: RestoreDashboardVersionRequest additionalProperties: false textql.rpc.public.dashboard.RestoreDashboardVersionResponse: type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: RestoreDashboardVersionResponse additionalProperties: false textql.rpc.public.dashboard.RunScheduledDashboardRequest: type: object properties: dashboardId: type: string title: dashboard_id title: RunScheduledDashboardRequest additionalProperties: false textql.rpc.public.dashboard.RunScheduledDashboardResponse: type: object properties: dashboardId: type: string title: dashboard_id description: Dashboard ID of the spawned dashboard title: RunScheduledDashboardResponse additionalProperties: false textql.rpc.public.dashboard.SpawnDashboardRequest: type: object properties: dashboardId: type: string title: dashboard_id forceRestart: type: boolean title: force_restart description: Force restart even if already running refreshDataOnly: type: boolean title: refresh_data_only description: Re-fetch data sources and reload without restarting the app refreshSourceNames: type: array items: type: string title: refresh_source_names description: If non-empty with refresh_data_only, only refresh these sources by name refreshCodeOnly: type: boolean title: refresh_code_only description: Update code in-place via Streamlit's runOnSave without restarting the process title: SpawnDashboardRequest additionalProperties: false textql.rpc.public.dashboard.SpawnDashboardResponse: type: object properties: refreshedAt: title: refreshed_at description: Spawn triggered asynchronously. Use CheckDashboardHealth to monitor status and get URLs. When spawn was triggered $ref: '#/components/schemas/google.protobuf.Timestamp' title: SpawnDashboardResponse additionalProperties: false textql.rpc.public.dashboard.SqlQuerySource: type: object properties: query: type: string title: query connectorId: type: integer title: connector_id format: int32 predicate: type: string title: predicate description: Optional viewer row-filter appended server-side at live-query time; binds :viewer_member_id / :viewer_email. Presence forces the source out of the published snapshot. title: SqlQuerySource additionalProperties: false textql.rpc.public.dashboard.UpdateDashboardFolderRequest: type: object properties: folderId: type: string title: folder_id name: type: string title: name nullable: true parentId: type: string title: parent_id description: Move folder to different parent (empty string = move to root) nullable: true title: UpdateDashboardFolderRequest additionalProperties: false textql.rpc.public.dashboard.UpdateDashboardFolderResponse: type: object properties: folder: title: folder $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardFolder' title: UpdateDashboardFolderResponse additionalProperties: false textql.rpc.public.dashboard.UpdateDashboardRequest: type: object properties: dashboardId: type: string title: dashboard_id name: type: string title: name nullable: true description: type: string title: description nullable: true code: type: string title: code nullable: true type: title: type nullable: true $ref: '#/components/schemas/textql.rpc.public.dashboard.DashboardType' htmlUrl: type: string title: html_url nullable: true dataSources: title: data_sources $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSourcesPatch' title: UpdateDashboardRequest additionalProperties: false textql.rpc.public.dashboard.UpdateDashboardResponse: type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: UpdateDashboardResponse additionalProperties: false textql.rpc.public.dashboard.UpdateDashboardScheduleRequest: type: object properties: dashboardId: type: string title: dashboard_id scheduleEnabled: type: boolean title: schedule_enabled cronString: type: string title: cron_string nullable: true dataSources: type: array items: $ref: '#/components/schemas/textql.rpc.public.dashboard.DataSource' title: data_sources title: UpdateDashboardScheduleRequest additionalProperties: false textql.rpc.public.dashboard.UpdateDashboardScheduleResponse: type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: UpdateDashboardScheduleResponse additionalProperties: false textql.rpc.public.dashboard.WatchDashboardHealthRequest: type: object properties: dashboardId: type: string title: dashboard_id title: WatchDashboardHealthRequest additionalProperties: false description: Streaming health watch textql.rpc.public.dataframe.BoolValues: type: object properties: values: type: array items: type: boolean title: values title: BoolValues additionalProperties: false textql.rpc.public.dataframe.ByteValues: type: object properties: values: type: array items: type: string format: byte title: values title: ByteValues additionalProperties: false textql.rpc.public.dataframe.DataFrame: type: object properties: schema: type: array items: $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameField' title: schema records: type: array items: $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameRecord' title: records title: DataFrame additionalProperties: false textql.rpc.public.dataframe.DataFrameColumn: type: object allOf: - type: object properties: columnIndex: type: integer title: column_index format: int32 - oneOf: - type: object properties: bools: title: bools $ref: '#/components/schemas/textql.rpc.public.dataframe.BoolValues' title: bools required: - bools - type: object properties: bytes: title: bytes $ref: '#/components/schemas/textql.rpc.public.dataframe.ByteValues' title: bytes required: - bytes - type: object properties: doubles: title: doubles $ref: '#/components/schemas/textql.rpc.public.dataframe.DoubleValues' title: doubles required: - doubles - type: object properties: floats: title: floats $ref: '#/components/schemas/textql.rpc.public.dataframe.FloatValues' title: floats required: - floats - type: object properties: int32: title: int32 $ref: '#/components/schemas/textql.rpc.public.dataframe.Int32Values' title: int32 required: - int32 - type: object properties: int64: title: int64 $ref: '#/components/schemas/textql.rpc.public.dataframe.Int64Values' title: int64 required: - int64 - type: object properties: strings: title: strings $ref: '#/components/schemas/textql.rpc.public.dataframe.StringValues' title: strings required: - strings - type: object properties: timestamps: title: timestamps $ref: '#/components/schemas/textql.rpc.public.dataframe.TimestampValues' title: timestamps required: - timestamps - type: object properties: uint32: title: uint32 $ref: '#/components/schemas/textql.rpc.public.dataframe.Uint32Values' title: uint32 required: - uint32 - type: object properties: uint64: title: uint64 $ref: '#/components/schemas/textql.rpc.public.dataframe.Uint64Values' title: uint64 required: - uint64 title: DataFrameColumn additionalProperties: false textql.rpc.public.dataframe.DataFrameField: type: object properties: columnName: type: string title: column_name columnType: type: string title: column_type columnIndex: type: integer title: column_index format: int32 title: DataFrameField additionalProperties: false textql.rpc.public.dataframe.DataFrameInfo: type: object properties: name: type: string title: name external: type: boolean title: external numRows: type: - integer - string title: num_rows format: int64 numCols: type: - integer - string title: num_cols format: int64 memoryUsage: type: - integer - string title: memory_usage format: int64 description: in bytes title: DataFrameInfo additionalProperties: false textql.rpc.public.dataframe.DataFrameRecord: type: object properties: columns: type: array items: $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameColumn' title: columns title: DataFrameRecord additionalProperties: false textql.rpc.public.dataframe.DataFrameWithInfo: type: object properties: df: title: df $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrame' info: title: info $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameInfo' preview: type: boolean title: preview description: whether df is merely a preview title: DataFrameWithInfo additionalProperties: false textql.rpc.public.dataframe.DoubleValues: type: object properties: values: type: array items: type: number format: double title: values title: DoubleValues additionalProperties: false textql.rpc.public.dataframe.FloatValues: type: object properties: values: type: array items: type: number format: float title: values title: FloatValues additionalProperties: false textql.rpc.public.dataframe.Int32Values: type: object properties: values: type: array items: type: integer format: int32 title: values title: Int32Values additionalProperties: false textql.rpc.public.dataframe.Int64Values: type: object properties: values: type: array items: type: - integer - string format: int64 title: values title: Int64Values additionalProperties: false textql.rpc.public.dataframe.StringValues: type: object properties: values: type: array items: type: string title: values title: StringValues additionalProperties: false textql.rpc.public.dataframe.TimestampValues: type: object properties: values: type: array items: $ref: '#/components/schemas/google.protobuf.Timestamp' title: values title: TimestampValues additionalProperties: false textql.rpc.public.dataframe.Uint32Values: type: object properties: values: type: array items: type: integer title: values title: Uint32Values additionalProperties: false textql.rpc.public.dataframe.Uint64Values: type: object properties: values: type: array items: type: - integer - string format: int64 title: values title: Uint64Values additionalProperties: false textql.rpc.public.dataset.CreateFolderRequest: type: object properties: parentPath: type: array items: type: string title: parent_path description: parent folders must already exist name: type: string title: name title: CreateFolderRequest additionalProperties: false textql.rpc.public.dataset.CreateFolderResponse: type: object properties: path: type: array items: type: string title: path description: path to new folder title: CreateFolderResponse additionalProperties: false textql.rpc.public.dataset.CreatePowerBIDatasetRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 name: type: string title: name folderPath: type: array items: type: string title: folder_path workspaceId: type: string title: workspace_id workspaceName: type: string title: workspace_name reports: type: array items: $ref: '#/components/schemas/textql.rpc.public.powerbi.PowerBIReport' title: reports datasets: type: array items: $ref: '#/components/schemas/textql.rpc.public.powerbi.PowerBIDataset' title: datasets title: CreatePowerBIDatasetRequest additionalProperties: false textql.rpc.public.dataset.CreatePowerBIDatasetResponse: type: object properties: dataset: title: dataset $ref: '#/components/schemas/textql.rpc.public.dataset.Dataset' title: CreatePowerBIDatasetResponse additionalProperties: false textql.rpc.public.dataset.CreateTableauDatasetRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 name: type: string title: name folderPath: type: array items: type: string title: folder_path projectId: type: string title: project_id projectName: type: string title: project_name views: type: array items: $ref: '#/components/schemas/textql.rpc.public.tableau.TableauView' title: views datasources: type: array items: $ref: '#/components/schemas/textql.rpc.public.tableau.TableauDatasource' title: datasources title: CreateTableauDatasetRequest additionalProperties: false textql.rpc.public.dataset.CreateTableauDatasetResponse: type: object properties: dataset: title: dataset $ref: '#/components/schemas/textql.rpc.public.dataset.Dataset' title: CreateTableauDatasetResponse additionalProperties: false textql.rpc.public.dataset.CreateUploadPresignUrlRequest: type: object properties: type: title: type $ref: '#/components/schemas/textql.rpc.public.dataset.DatasetType' fileName: type: string title: file_name folderPath: type: array items: type: string title: folder_path description: if this dataset lives in a folder ephemeral: type: boolean title: ephemeral expiresInDays: type: integer title: expires_in_days nullable: true title: CreateUploadPresignUrlRequest additionalProperties: false textql.rpc.public.dataset.CreateUploadPresignUrlResponse: type: object properties: datasetId: type: string title: dataset_id datasetVersion: type: integer title: dataset_version format: int32 presignUrl: type: string title: presign_url title: CreateUploadPresignUrlResponse additionalProperties: false textql.rpc.public.dataset.Dataset: type: object allOf: - type: object properties: id: type: string title: id type: title: type $ref: '#/components/schemas/textql.rpc.public.dataset.DatasetType' name: type: string title: name version: type: integer title: version format: int32 path: type: string title: path description: folder structure to reach this file owner: title: owner $ref: '#/components/schemas/textql.rpc.identity.MemberPreview' userPermissions: title: user_permissions description: for logged in user $ref: '#/components/schemas/textql.rpc.public.dataset.DatasetPermission' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' ephemeral: type: boolean title: ephemeral - oneOf: - type: object properties: dataframe: title: dataframe $ref: '#/components/schemas/textql.rpc.public.dataset.SandboxDataFrame' title: dataframe required: - dataframe - type: object properties: document: title: document $ref: '#/components/schemas/textql.rpc.public.dataset.Document' title: document required: - document - type: object properties: powerbiData: title: powerbi_data $ref: '#/components/schemas/textql.rpc.public.dataset.PowerBIData' title: powerbi_data required: - powerbiData - type: object properties: tableauData: title: tableau_data $ref: '#/components/schemas/textql.rpc.public.dataset.TableauData' title: tableau_data required: - tableauData - type: object properties: tabularFile: title: tabular_file $ref: '#/components/schemas/textql.rpc.public.dataset.TabularFile' title: tabular_file required: - tabularFile title: Dataset additionalProperties: false textql.rpc.public.dataset.DatasetFolder: type: object properties: path: type: string title: path owner: title: owner $ref: '#/components/schemas/textql.rpc.identity.MemberPreview' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: DatasetFolder additionalProperties: false textql.rpc.public.dataset.DatasetPermission: type: string title: DatasetPermission enum: - PERMISSION_UNKNOWN - PERMISSION_READ - PERMISSION_EDIT - PERMISSION_ADMIN textql.rpc.public.dataset.DatasetType: type: string title: DatasetType enum: - TYPE_UNKNOWN - TYPE_TABULAR - TYPE_DATAFRAME - TYPE_DOCUMENT - TYPE_TABLEAU - TYPE_IMAGE - TYPE_TEXT - TYPE_POWERBI description: never change the names or numbers of existing dataset types! textql.rpc.public.dataset.DatasetsSort: type: string title: DatasetsSort enum: - SORT_UNKNOWN - SORT_LATEST - SORT_OLDEST - SORT_RELEVANT textql.rpc.public.dataset.DeleteDatasetRequest: type: object properties: datasetId: type: string title: dataset_id title: DeleteDatasetRequest additionalProperties: false textql.rpc.public.dataset.DeleteDatasetResponse: type: object properties: success: type: boolean title: success title: DeleteDatasetResponse additionalProperties: false textql.rpc.public.dataset.Document: type: object properties: previewUrl: type: string title: preview_url pageCount: type: integer title: page_count format: int32 title: Document additionalProperties: false textql.rpc.public.dataset.ExportDatasetRequest: type: object properties: datasetId: type: string title: dataset_id preferredFormat: title: preferred_format nullable: true $ref: '#/components/schemas/textql.rpc.public.dataset.ExportFormat' versionId: type: integer title: version_id format: int32 description: default to latest version nullable: true title: ExportDatasetRequest additionalProperties: false textql.rpc.public.dataset.ExportDatasetResponse: type: object properties: presignedUrl: type: string title: presigned_url title: ExportDatasetResponse additionalProperties: false textql.rpc.public.dataset.ExportFormat: type: string title: ExportFormat enum: - FORMAT_UNKNOWN - FORMAT_CSV - FORMAT_EXCEL - FORMAT_PARQUET textql.rpc.public.dataset.GetDatasetRequest: type: object properties: datasetId: type: string title: dataset_id title: GetDatasetRequest additionalProperties: false textql.rpc.public.dataset.GetDatasetResponse: type: object properties: dataset: title: dataset $ref: '#/components/schemas/textql.rpc.public.dataset.Dataset' title: GetDatasetResponse additionalProperties: false textql.rpc.public.dataset.GetDatasetStatsRequest: type: object properties: datasetId: type: string title: dataset_id versionId: type: integer title: version_id format: int32 nullable: true title: GetDatasetStatsRequest additionalProperties: false textql.rpc.public.dataset.GetDatasetStatsResponse: type: object title: GetDatasetStatsResponse additionalProperties: false description: unimplemented for now textql.rpc.public.dataset.GetDatasetValuesRequest: type: object properties: datasetId: type: string title: dataset_id versionId: type: integer title: version_id format: int32 description: default to latest version nullable: true limit: type: integer title: limit format: int32 description: defaults to 10,000 nullable: true page: type: integer title: page format: int32 nullable: true sheet: type: integer title: sheet format: int32 description: for multi-sheet excels nullable: true title: GetDatasetValuesRequest additionalProperties: false textql.rpc.public.dataset.GetDatasetValuesResponse: type: object properties: df: title: df $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrame' numCols: type: - integer - string title: num_cols format: int64 numRows: type: - integer - string title: num_rows format: int64 title: GetDatasetValuesResponse additionalProperties: false textql.rpc.public.dataset.GetDatasetsByIdsRequest: type: object properties: datasetIds: type: array items: type: string title: dataset_ids title: GetDatasetsByIdsRequest additionalProperties: false textql.rpc.public.dataset.GetDatasetsByIdsResponse: type: object properties: datasets: type: array items: $ref: '#/components/schemas/textql.rpc.public.dataset.Dataset' title: datasets title: GetDatasetsByIdsResponse additionalProperties: false textql.rpc.public.dataset.GetDatasetsRequest: type: object properties: types: type: array items: $ref: '#/components/schemas/textql.rpc.public.dataset.DatasetType' title: types ownerOnly: type: boolean title: owner_only description: only include datasets where the user is the owner includeSubfolders: type: boolean title: include_subfolders path: type: string title: path description: defaults to path / nullable: true searchParam: type: string title: search_param nullable: true sort: title: sort nullable: true $ref: '#/components/schemas/textql.rpc.public.dataset.DatasetsSort' limit: type: integer title: limit format: int32 nullable: true cursor: type: string title: cursor description: cursor-based pagination. cursor is the id of the last record returned nullable: true title: GetDatasetsRequest additionalProperties: false textql.rpc.public.dataset.GetDatasetsResponse: type: object properties: datasets: type: array items: $ref: '#/components/schemas/textql.rpc.public.dataset.Dataset' title: datasets description: returns only the latest dataset versions title: GetDatasetsResponse additionalProperties: false textql.rpc.public.dataset.GetFoldersRequest: type: object properties: path: type: string title: path title: GetFoldersRequest additionalProperties: false textql.rpc.public.dataset.GetFoldersResponse: type: object properties: folders: type: array items: $ref: '#/components/schemas/textql.rpc.public.dataset.DatasetFolder' title: folders title: GetFoldersResponse additionalProperties: false textql.rpc.public.dataset.PowerBIData: type: object properties: connectorId: type: integer title: connector_id format: int32 reportIds: type: array items: type: string title: report_ids datasetIds: type: array items: type: string title: dataset_ids reportNames: type: array items: type: string title: report_names datasetNames: type: array items: type: string title: dataset_names workspaceId: type: string title: workspace_id workspaceName: type: string title: workspace_name title: PowerBIData additionalProperties: false textql.rpc.public.dataset.ProcessUploadPresignUrlRequest: type: object properties: datasetId: type: string title: dataset_id datasetVersion: type: integer title: dataset_version format: int32 title: ProcessUploadPresignUrlRequest additionalProperties: false textql.rpc.public.dataset.ProcessUploadPresignUrlResponse: type: object properties: dataset: title: dataset $ref: '#/components/schemas/textql.rpc.public.dataset.Dataset' title: ProcessUploadPresignUrlResponse additionalProperties: false textql.rpc.public.dataset.SandboxDataFrame: type: object properties: info: title: info $ref: '#/components/schemas/textql.rpc.public.dataframe.DataFrameInfo' title: SandboxDataFrame additionalProperties: false textql.rpc.public.dataset.TableauData: type: object properties: connectorId: type: integer title: connector_id format: int32 projectId: type: string title: project_id projectName: type: string title: project_name views: type: array items: $ref: '#/components/schemas/textql.rpc.public.tableau.TableauView' title: views datasources: type: array items: $ref: '#/components/schemas/textql.rpc.public.tableau.TableauDatasource' title: datasources title: TableauData additionalProperties: false textql.rpc.public.dataset.TabularFile: type: object properties: category: title: category $ref: '#/components/schemas/textql.rpc.public.dataset.TabularFileCategory' rowCount: type: - integer - string title: row_count format: int64 columnCount: type: - integer - string title: column_count format: int64 sheetCount: type: integer title: sheet_count format: int32 title: TabularFile additionalProperties: false textql.rpc.public.dataset.TabularFileCategory: type: string title: TabularFileCategory enum: - CATEGORY_UNKNOWN - CATEGORY_CSV - CATEGORY_TSV - CATEGORY_XLSX - CATEGORY_XLS - CATEGORY_PARQUET - CATEGORY_ODS description: never change the names or numbers of existing tabular file categories! textql.rpc.public.dataset.UpdateDatasetRequest: type: object properties: datasetId: type: string title: dataset_id name: type: string title: name description: Add other updatable fields as needed nullable: true title: UpdateDatasetRequest additionalProperties: false textql.rpc.public.dataset.UpdateDatasetResponse: type: object properties: dataset: title: dataset $ref: '#/components/schemas/textql.rpc.public.dataset.Dataset' title: UpdateDatasetResponse additionalProperties: false textql.rpc.public.mcp.ClearOAuthTokenRequest: type: object properties: serverId: type: string title: server_id title: ClearOAuthTokenRequest additionalProperties: false textql.rpc.public.mcp.ClearOAuthTokenResponse: type: object properties: success: type: boolean title: success error: type: string title: error title: ClearOAuthTokenResponse additionalProperties: false textql.rpc.public.mcp.DeleteMCPServerRequest: type: object properties: id: type: string title: id title: DeleteMCPServerRequest additionalProperties: false textql.rpc.public.mcp.DeleteMCPServerResponse: type: object properties: success: type: boolean title: success error: type: string title: error title: DeleteMCPServerResponse additionalProperties: false textql.rpc.public.mcp.GetMCPServersRequest: type: object title: GetMCPServersRequest additionalProperties: false textql.rpc.public.mcp.GetMCPServersResponse: type: object properties: mcpServers: type: array items: $ref: '#/components/schemas/textql.rpc.public.mcp.MCPServerWithTools' title: mcp_servers title: GetMCPServersResponse additionalProperties: false textql.rpc.public.mcp.HandleOAuthCallbackRequest: type: object properties: serverId: type: string title: server_id code: type: string title: code state: type: string title: state title: HandleOAuthCallbackRequest additionalProperties: false textql.rpc.public.mcp.HandleOAuthCallbackResponse: type: object properties: success: type: boolean title: success error: type: string title: error title: HandleOAuthCallbackResponse additionalProperties: false textql.rpc.public.mcp.HttpConfig: type: object properties: url: type: string title: url headers: type: object title: headers additionalProperties: type: string title: value oauthClientId: type: string title: oauth_client_id nullable: true oauthClientSecret: type: string title: oauth_client_secret nullable: true title: HttpConfig additionalProperties: false textql.rpc.public.mcp.HttpConfig.HeadersEntry: type: object properties: key: type: string title: key value: type: string title: value title: HeadersEntry additionalProperties: false textql.rpc.public.mcp.InitiateOAuthFlowRequest: type: object properties: serverId: type: string title: server_id title: InitiateOAuthFlowRequest additionalProperties: false textql.rpc.public.mcp.InitiateOAuthFlowResponse: type: object properties: success: type: boolean title: success error: type: string title: error authorizationUrl: type: string title: authorization_url title: InitiateOAuthFlowResponse additionalProperties: false textql.rpc.public.mcp.MCPError: type: string title: MCPError enum: - MCP_ERROR_UNSPECIFIED - MCP_ERROR_INVALID_TOKEN - MCP_ERROR_AUTHENTICATION_REQUIRED - MCP_ERROR_UNSUPPORTED_PROTOCOL_VERSION - MCP_ERROR_CLIENT_NOT_INITIALIZED - MCP_ERROR_URL_REQUIRED - MCP_ERROR_UNSUPPORTED_TRANSPORT_TYPE - MCP_ERROR_SERVER_NOT_FOUND textql.rpc.public.mcp.MCPServer: type: object allOf: - type: object properties: id: type: string title: id name: type: string title: name transport: title: transport $ref: '#/components/schemas/textql.rpc.public.mcp.MCPTransportType' memberId: type: string title: member_id organizationId: type: string title: organization_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' enabled: type: boolean title: enabled - oneOf: - type: object properties: httpConfig: title: http_config $ref: '#/components/schemas/textql.rpc.public.mcp.HttpConfig' title: http_config required: - httpConfig - type: object properties: sseConfig: title: sse_config $ref: '#/components/schemas/textql.rpc.public.mcp.SseConfig' title: sse_config required: - sseConfig title: MCPServer additionalProperties: false textql.rpc.public.mcp.MCPServerWithTools: type: object properties: mcpServer: title: mcp_server $ref: '#/components/schemas/textql.rpc.public.mcp.MCPServer' tools: type: array items: $ref: '#/components/schemas/textql.rpc.public.mcp.MCPTool' title: tools error: title: error nullable: true $ref: '#/components/schemas/textql.rpc.public.mcp.MCPError' title: MCPServerWithTools additionalProperties: false textql.rpc.public.mcp.MCPTool: type: object properties: name: type: string title: name description: type: string title: description schema: type: string title: schema description: JSON schema for input parameters title: MCPTool additionalProperties: false textql.rpc.public.mcp.MCPTransportType: type: string title: MCPTransportType enum: - MCP_TRANSPORT_TYPE_UNSPECIFIED - SSE - HTTP textql.rpc.public.mcp.SseConfig: type: object properties: url: type: string title: url headers: type: object title: headers additionalProperties: type: string title: value oauthClientId: type: string title: oauth_client_id nullable: true oauthClientSecret: type: string title: oauth_client_secret nullable: true title: SseConfig additionalProperties: false textql.rpc.public.mcp.SseConfig.HeadersEntry: type: object properties: key: type: string title: key value: type: string title: value title: HeadersEntry additionalProperties: false textql.rpc.public.mcp.ToggleMCPServerRequest: type: object properties: id: type: string title: id title: ToggleMCPServerRequest additionalProperties: false textql.rpc.public.mcp.ToggleMCPServerResponse: type: object properties: success: type: boolean title: success title: ToggleMCPServerResponse additionalProperties: false textql.rpc.public.mcp.UpsertMCPServersRequest: type: object properties: mcpServers: type: array items: $ref: '#/components/schemas/textql.rpc.public.mcp.MCPServer' title: mcp_servers title: UpsertMCPServersRequest additionalProperties: false textql.rpc.public.mcp.UpsertMCPServersResponse: type: object properties: mcpServers: type: array items: $ref: '#/components/schemas/textql.rpc.public.mcp.MCPServerWithTools' title: mcp_servers title: UpsertMCPServersResponse additionalProperties: false textql.rpc.public.metrics_export.ConfigureMetricsExportRequest: type: object properties: prometheusEnabled: type: boolean title: prometheus_enabled otlpEnabled: type: boolean title: otlp_enabled otlpEndpoint: type: string title: otlp_endpoint otlpHeaders: type: string title: otlp_headers otlpProtocol: type: string title: otlp_protocol pushIntervalSeconds: type: integer title: push_interval_seconds format: int32 title: ConfigureMetricsExportRequest additionalProperties: false textql.rpc.public.metrics_export.ConfigureMetricsExportResponse: type: object properties: config: title: config $ref: '#/components/schemas/textql.rpc.public.metrics_export.MetricsExportConfig' title: ConfigureMetricsExportResponse additionalProperties: false textql.rpc.public.metrics_export.DeleteMetricsExportConfigRequest: type: object title: DeleteMetricsExportConfigRequest additionalProperties: false textql.rpc.public.metrics_export.DeleteMetricsExportConfigResponse: type: object title: DeleteMetricsExportConfigResponse additionalProperties: false textql.rpc.public.metrics_export.GetMetricsExportConfigRequest: type: object title: GetMetricsExportConfigRequest additionalProperties: false textql.rpc.public.metrics_export.GetMetricsExportConfigResponse: type: object properties: config: title: config nullable: true $ref: '#/components/schemas/textql.rpc.public.metrics_export.MetricsExportConfig' title: GetMetricsExportConfigResponse additionalProperties: false textql.rpc.public.metrics_export.MetricsExportConfig: type: object properties: prometheusEnabled: type: boolean title: prometheus_enabled otlpEnabled: type: boolean title: otlp_enabled otlpEndpoint: type: string title: otlp_endpoint otlpHeaders: type: string title: otlp_headers otlpProtocol: type: string title: otlp_protocol pushIntervalSeconds: type: integer title: push_interval_seconds format: int32 lastPushedAt: title: last_pushed_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: MetricsExportConfig additionalProperties: false textql.rpc.public.metrics_export.TestMetricsExportConnectionRequest: type: object properties: otlpEndpoint: type: string title: otlp_endpoint otlpHeaders: type: string title: otlp_headers otlpProtocol: type: string title: otlp_protocol title: TestMetricsExportConnectionRequest additionalProperties: false textql.rpc.public.metrics_export.TestMetricsExportConnectionResponse: type: object properties: success: type: boolean title: success errorMessage: type: string title: error_message title: TestMetricsExportConnectionResponse additionalProperties: false textql.rpc.public.metrics_export.TriggerMetricsPushRequest: type: object title: TriggerMetricsPushRequest additionalProperties: false textql.rpc.public.metrics_export.TriggerMetricsPushResponse: type: object properties: triggered: type: boolean title: triggered title: TriggerMetricsPushResponse additionalProperties: false textql.rpc.public.observe.AccessMethodCount: type: object properties: method: type: string title: method total: type: integer title: total format: int32 title: AccessMethodCount additionalProperties: false textql.rpc.public.observe.ActivePeoplePoint: type: object properties: bucketStart: type: string title: bucket_start returning: type: integer title: returning format: int32 newPeople: type: integer title: new_people format: int32 title: ActivePeoplePoint additionalProperties: false textql.rpc.public.observe.AgentBillingStat: type: object properties: agentId: type: string title: agent_id estimatedAcu: type: number title: estimated_acu format: double title: AgentBillingStat additionalProperties: false textql.rpc.public.observe.AppBillingStat: type: object properties: appId: type: string title: app_id appName: type: string title: app_name ownerId: type: string title: owner_id ownerName: type: string title: owner_name computeAcu: type: number title: compute_acu format: double refreshCount: type: integer title: refresh_count format: int32 viewCount: type: integer title: view_count format: int32 lastViewedAt: title: last_viewed_at $ref: '#/components/schemas/google.protobuf.Timestamp' dailyViewCounts: type: array items: type: integer format: int32 title: daily_view_counts isPublished: type: boolean title: is_published llmAcu: type: number title: llm_acu format: double totalAcu: type: number title: total_acu format: double title: AppBillingStat additionalProperties: false textql.rpc.public.observe.BackfillCustomTopicRequest: type: object properties: topicId: type: string title: topic_id startDate: title: start_date $ref: '#/components/schemas/google.protobuf.Timestamp' endDate: title: end_date $ref: '#/components/schemas/google.protobuf.Timestamp' title: BackfillCustomTopicRequest additionalProperties: false textql.rpc.public.observe.BackfillCustomTopicResponse: type: object title: BackfillCustomTopicResponse additionalProperties: false textql.rpc.public.observe.BackfillThreadWarningsRequest: type: object properties: days: type: integer title: days format: int32 concurrency: type: integer title: concurrency format: int32 orgId: type: string title: org_id nullable: true redoAllThreads: type: boolean title: redo_all_threads title: BackfillThreadWarningsRequest additionalProperties: false textql.rpc.public.observe.BackfillThreadWarningsResponse: type: object properties: totalThreads: type: integer title: total_threads format: int32 alreadyRunning: type: boolean title: already_running title: BackfillThreadWarningsResponse additionalProperties: false textql.rpc.public.observe.ChatSourceCount: type: object properties: source: title: source $ref: '#/components/schemas/textql.rpc.public.chat.ChatSource' total: type: integer title: total format: int32 title: ChatSourceCount additionalProperties: false textql.rpc.public.observe.ChatTopicList: type: object properties: topics: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.ChatTopicRef' title: topics title: ChatTopicList additionalProperties: false description: |- Chat → topics decoration (which live topics tag each chat), mirroring the GetThreadWarnings batch shape. textql.rpc.public.observe.ChatTopicRef: type: object properties: topicId: type: string title: topic_id name: type: string title: name title: ChatTopicRef additionalProperties: false textql.rpc.public.observe.CreateCustomTopicRequest: type: object properties: name: type: string title: name userPrompt: type: string title: user_prompt covers: type: string title: covers excludes: type: string title: excludes title: CreateCustomTopicRequest additionalProperties: false textql.rpc.public.observe.CustomTopic: type: object properties: id: type: string title: id name: type: string title: name userPrompt: type: string title: user_prompt covers: type: string title: covers excludes: type: string title: excludes status: type: string title: status createdByMemberId: type: string title: created_by_member_id backfillChatId: type: string title: backfill_chat_id nullable: true backfillStatus: type: string title: backfill_status nullable: true backfillError: type: string title: backfill_error nullable: true createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' tagCount: type: - integer - string title: tag_count format: int64 updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' createdByEmail: type: string title: created_by_email dailyTagCounts: type: array items: type: integer format: int32 title: daily_tag_counts peopleCount: type: - integer - string title: people_count format: int64 title: CustomTopic additionalProperties: false textql.rpc.public.observe.CustomTopicPerson: type: object properties: memberId: type: string title: member_id name: type: string title: name description: '''tagged'' (default) | ''excluded_manual''' email: type: string title: email threadCount: type: - integer - string title: thread_count format: int64 title: CustomTopicPerson additionalProperties: false textql.rpc.public.observe.CustomTopicResponse: type: object properties: topic: title: topic $ref: '#/components/schemas/textql.rpc.public.observe.CustomTopic' title: CustomTopicResponse additionalProperties: false textql.rpc.public.observe.CustomTopicThread: type: object properties: chatId: type: string title: chat_id title: type: string title: title memberId: type: string title: member_id taggedBy: type: string title: tagged_by taggedAt: title: tagged_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: CustomTopicThread additionalProperties: false textql.rpc.public.observe.DailyVolumePoint: type: object properties: date: type: string title: date description: YYYY-MM-DD threads: type: integer title: threads format: int32 playbooks: type: integer title: playbooks format: int32 feedAgents: type: integer title: feed_agents format: int32 slack: type: integer title: slack format: int32 teams: type: integer title: teams format: int32 title: DailyVolumePoint additionalProperties: false textql.rpc.public.observe.DashboardBillingStat: type: object properties: dashboardId: type: string title: dashboard_id dashboardName: type: string title: dashboard_name description: proportionally distributed from member's feed ACU by post count ownerId: type: string title: owner_id ownerName: type: string title: owner_name computeAcu: type: number title: compute_acu format: double refreshCount: type: integer title: refresh_count format: int32 viewCount: type: integer title: view_count format: int32 lastViewedAt: title: last_viewed_at $ref: '#/components/schemas/google.protobuf.Timestamp' dailyViewCounts: type: array items: type: integer format: int32 title: daily_view_counts isPublished: type: boolean title: is_published title: DashboardBillingStat additionalProperties: false textql.rpc.public.observe.EngagementTierCount: type: object properties: tier: type: string title: tier count: type: integer title: count format: int32 title: EngagementTierCount additionalProperties: false textql.rpc.public.observe.ExportObservabilityCsvRequest: type: object properties: tab: type: string title: tab days: type: integer title: days format: int32 title: ExportObservabilityCsvRequest additionalProperties: false description: |- MemberActivity is one member's activity over the window: a daily event-count series (oldest→newest, zero-filled) plus rollups for the users table. textql.rpc.public.observe.ExportObservabilityCsvResponse: type: object properties: downloadUrl: type: string title: download_url title: ExportObservabilityCsvResponse additionalProperties: false textql.rpc.public.observe.FixCheckRecordRequest: type: object properties: recordId: type: string title: record_id title: FixCheckRecordRequest additionalProperties: false textql.rpc.public.observe.FixCheckRecordResponse: type: object properties: chatId: type: string title: chat_id title: FixCheckRecordResponse additionalProperties: false textql.rpc.public.observe.FixWarningRequest: type: object properties: warningId: type: string title: warning_id title: FixWarningRequest additionalProperties: false textql.rpc.public.observe.FixWarningResponse: type: object properties: chatId: type: string title: chat_id title: FixWarningResponse additionalProperties: false textql.rpc.public.observe.GetAccessMethodStatsRequest: type: object properties: days: type: integer title: days format: int32 startDate: title: start_date nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' endDate: title: end_date nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: GetAccessMethodStatsRequest additionalProperties: false textql.rpc.public.observe.GetAccessMethodStatsResponse: type: object properties: methods: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.AccessMethodCount' title: methods title: GetAccessMethodStatsResponse additionalProperties: false textql.rpc.public.observe.GetActivePeopleStatsRequest: type: object properties: days: type: integer title: days format: int32 title: GetActivePeopleStatsRequest additionalProperties: false textql.rpc.public.observe.GetActivePeopleStatsResponse: type: object properties: activeMemberCount: type: integer title: active_member_count format: int32 totalMemberCount: type: integer title: total_member_count format: int32 title: GetActivePeopleStatsResponse additionalProperties: false textql.rpc.public.observe.GetActivePeopleTrendRequest: type: object properties: days: type: integer title: days format: int32 startDate: title: start_date nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' endDate: title: end_date nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: GetActivePeopleTrendRequest additionalProperties: false textql.rpc.public.observe.GetActivePeopleTrendResponse: type: object properties: points: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.ActivePeoplePoint' title: points growthPct: type: integer title: growth_pct format: int32 bucketUnit: type: string title: bucket_unit title: GetActivePeopleTrendResponse additionalProperties: false textql.rpc.public.observe.GetBackfillPreviewRequest: type: object properties: days: type: integer title: days format: int32 orgId: type: string title: org_id nullable: true redoAllThreads: type: boolean title: redo_all_threads title: GetBackfillPreviewRequest additionalProperties: false textql.rpc.public.observe.GetBackfillPreviewResponse: type: object properties: unanalyzedCount: type: integer title: unanalyzed_count format: int32 orgName: type: string title: org_name eligibleThreadCount: type: integer title: eligible_thread_count format: int32 title: GetBackfillPreviewResponse additionalProperties: false textql.rpc.public.observe.GetBackfillStatusRequest: type: object properties: orgId: type: string title: org_id nullable: true title: GetBackfillStatusRequest additionalProperties: false textql.rpc.public.observe.GetBackfillStatusResponse: type: object properties: running: type: boolean title: running total: type: integer title: total format: int32 processed: type: integer title: processed format: int32 failed: type: integer title: failed format: int32 title: GetBackfillStatusResponse additionalProperties: false textql.rpc.public.observe.GetBillingStatsRequest: type: object properties: days: type: integer title: days format: int32 title: GetBillingStatsRequest additionalProperties: false textql.rpc.public.observe.GetBillingStatsResponse: type: object properties: memberStats: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.MemberBillingStat' title: member_stats agentStats: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.AgentBillingStat' title: agent_stats totalFeedAcu: type: number title: total_feed_acu format: double playbookStats: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.PlaybookBillingStat' title: playbook_stats dashboardStats: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.DashboardBillingStat' title: dashboard_stats totalPlaybookAcu: type: number title: total_playbook_acu format: double totalDashboardAcu: type: number title: total_dashboard_acu format: double unattributedFeedAcu: type: number title: unattributed_feed_acu format: double unattributedDashboardAcu: type: number title: unattributed_dashboard_acu format: double totalDashboardCount: type: integer title: total_dashboard_count format: int32 totalPlaybookCount: type: integer title: total_playbook_count format: int32 unattributedPlaybookAcu: type: number title: unattributed_playbook_acu format: double appStats: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.AppBillingStat' title: app_stats totalAppAcu: type: number title: total_app_acu format: double unattributedAppAcu: type: number title: unattributed_app_acu format: double totalAppCount: type: integer title: total_app_count format: int32 acuRatePer1000Usd: type: number title: acu_rate_per_1000_usd format: double unattributedAppLlmAcu: type: number title: unattributed_app_llm_acu format: double title: GetBillingStatsResponse additionalProperties: false textql.rpc.public.observe.GetChatSourceStatsRequest: type: object properties: days: type: integer title: days format: int32 memberId: type: string title: member_id nullable: true startDate: title: start_date nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' endDate: title: end_date nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: GetChatSourceStatsRequest additionalProperties: false textql.rpc.public.observe.GetChatSourceStatsResponse: type: object properties: orgBySource: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.ChatSourceCount' title: org_by_source memberStats: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.MemberChatSourceStat' title: member_stats title: GetChatSourceStatsResponse additionalProperties: false textql.rpc.public.observe.GetChatTopicsRequest: type: object properties: chatIds: type: array items: type: string title: chat_ids title: GetChatTopicsRequest additionalProperties: false description: One owner of a topic's tagged chats, ranked by how many they own. textql.rpc.public.observe.GetChatTopicsResponse: type: object properties: topicsByChat: type: object title: topics_by_chat additionalProperties: title: value $ref: '#/components/schemas/textql.rpc.public.observe.ChatTopicList' title: GetChatTopicsResponse additionalProperties: false textql.rpc.public.observe.GetChatTopicsResponse.TopicsByChatEntry: type: object properties: key: type: string title: key value: title: value $ref: '#/components/schemas/textql.rpc.public.observe.ChatTopicList' title: TopicsByChatEntry additionalProperties: false textql.rpc.public.observe.GetCheckRecordFixRequest: type: object properties: recordId: type: string title: record_id title: GetCheckRecordFixRequest additionalProperties: false textql.rpc.public.observe.GetCheckRecordFixResponse: type: object properties: fixChatId: type: string title: fix_chat_id nullable: true fixPatchCell: title: fix_patch_cell nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.Cell' fixRunActive: type: boolean title: fix_run_active fixStatus: type: string title: fix_status nullable: true title: GetCheckRecordFixResponse additionalProperties: false textql.rpc.public.observe.GetCustomTopicPeopleRequest: type: object properties: topicId: type: string title: topic_id title: GetCustomTopicPeopleRequest additionalProperties: false textql.rpc.public.observe.GetCustomTopicPeopleResponse: type: object properties: people: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.CustomTopicPerson' title: people title: GetCustomTopicPeopleResponse additionalProperties: false textql.rpc.public.observe.GetCustomTopicRequest: type: object properties: topicId: type: string title: topic_id trendStart: title: trend_start $ref: '#/components/schemas/google.protobuf.Timestamp' trendEnd: title: trend_end $ref: '#/components/schemas/google.protobuf.Timestamp' title: GetCustomTopicRequest additionalProperties: false textql.rpc.public.observe.GetCustomTopicThreadsRequest: type: object properties: topicId: type: string title: topic_id description: |- Optional trend window; when both are set each topic carries daily_tag_counts over [trend_start, trend_end). verdict: type: string title: verdict pageToken: type: string title: page_token pageSize: type: integer title: page_size format: int32 memberId: type: string title: member_id title: GetCustomTopicThreadsRequest additionalProperties: false textql.rpc.public.observe.GetCustomTopicThreadsResponse: type: object properties: threads: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.CustomTopicThread' title: threads description: Keyed by chat id; chats with no tagged topics are absent. nextPageToken: type: string title: next_page_token title: GetCustomTopicThreadsResponse additionalProperties: false textql.rpc.public.observe.GetEngagementSpectrumRequest: type: object properties: days: type: integer title: days format: int32 title: GetEngagementSpectrumRequest additionalProperties: false textql.rpc.public.observe.GetEngagementSpectrumResponse: type: object properties: tiers: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.EngagementTierCount' title: tiers totalPeople: type: integer title: total_people format: int32 title: GetEngagementSpectrumResponse additionalProperties: false textql.rpc.public.observe.GetMemberActivityRequest: type: object properties: days: type: integer title: days format: int32 title: GetMemberActivityRequest additionalProperties: false textql.rpc.public.observe.GetMemberActivityResponse: type: object properties: members: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.MemberActivity' title: members title: GetMemberActivityResponse additionalProperties: false textql.rpc.public.observe.GetMemberSignalTrendRequest: type: object properties: days: type: integer title: days format: int32 title: GetMemberSignalTrendRequest additionalProperties: false textql.rpc.public.observe.GetMemberSignalTrendResponse: type: object properties: points: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.MemberSignalTrendPoint' title: points title: GetMemberSignalTrendResponse additionalProperties: false textql.rpc.public.observe.GetObservabilityStatsRequest: type: object properties: days: type: integer title: days format: int32 description: 'time window: 7, 14, 30, 90' timezone: type: string title: timezone description: |- IANA timezone (e.g. "America/New_York") used to bucket the usage heatmap by the viewer's local weekday/hour. Falls back to UTC when unset/invalid. nullable: true title: GetObservabilityStatsRequest additionalProperties: false textql.rpc.public.observe.GetObservabilityStatsResponse: type: object properties: summary: title: summary $ref: '#/components/schemas/textql.rpc.public.observe.ObservabilitySummary' dailyVolume: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.DailyVolumePoint' title: daily_volume warningDistribution: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.WarningTypeCount' title: warning_distribution warningCatalog: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.WarningTypeMeta' title: warning_catalog warningDailyDistribution: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.WarningTypeDailyCount' title: warning_daily_distribution description: |- Per-day, per-type warning counts for the warning-breakdown-over-time chart. Days/types with no warnings are absent (the client zero-fills the axis). usageHeatmap: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.UsageHeatmapPoint' title: usage_heatmap description: |- Chat counts bucketed by weekday x hour-of-day (in the request timezone, UTC default) for the usage heatmap. Empty buckets are absent (the client zero-fills the 7x24 grid). title: GetObservabilityStatsResponse additionalProperties: false textql.rpc.public.observe.GetThreadWarningsRequest: type: object properties: chatIds: type: array items: type: string title: chat_ids title: GetThreadWarningsRequest additionalProperties: false textql.rpc.public.observe.GetThreadWarningsResponse: type: object properties: warningsByChat: type: object title: warnings_by_chat additionalProperties: title: value $ref: '#/components/schemas/textql.rpc.public.observe.ThreadWarningList' analyzedChatIds: type: array items: type: string title: analyzed_chat_ids title: GetThreadWarningsResponse additionalProperties: false textql.rpc.public.observe.GetThreadWarningsResponse.WarningsByChatEntry: type: object properties: key: type: string title: key value: title: value $ref: '#/components/schemas/textql.rpc.public.observe.ThreadWarningList' title: WarningsByChatEntry additionalProperties: false textql.rpc.public.observe.ListCustomTopicsRequest: type: object properties: trendStart: title: trend_start $ref: '#/components/schemas/google.protobuf.Timestamp' trendEnd: title: trend_end $ref: '#/components/schemas/google.protobuf.Timestamp' title: ListCustomTopicsRequest additionalProperties: false textql.rpc.public.observe.ListCustomTopicsResponse: type: object properties: topics: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.CustomTopic' title: topics title: ListCustomTopicsResponse additionalProperties: false textql.rpc.public.observe.MemberActivity: type: object properties: memberId: type: string title: member_id dailyActivity: type: array items: type: integer format: int32 title: daily_activity eventCount: type: integer title: event_count format: int32 threadCount: type: integer title: thread_count format: int32 lastActive: title: last_active $ref: '#/components/schemas/google.protobuf.Timestamp' title: MemberActivity additionalProperties: false textql.rpc.public.observe.MemberBillingStat: type: object properties: memberId: type: string title: member_id memberName: type: string title: member_name email: type: string title: email totalAcu: type: number title: total_acu format: double acuByCategory: type: object title: acu_by_category additionalProperties: type: number title: value format: double acuBySource: type: object title: acu_by_source additionalProperties: type: number title: value format: double profileImageUrl: type: string title: profile_image_url threadCount: type: integer title: thread_count format: int32 playbookCount: type: integer title: playbook_count format: int32 dashboardCount: type: integer title: dashboard_count format: int32 agentCount: type: integer title: agent_count format: int32 isFormerMember: type: boolean title: is_former_member positiveSignalCount: type: integer title: positive_signal_count format: int32 negativeSignalCount: type: integer title: negative_signal_count format: int32 flaggedThreadCount: type: integer title: flagged_thread_count format: int32 analyzedThreadCount: type: integer title: analyzed_thread_count format: int32 title: MemberBillingStat additionalProperties: false textql.rpc.public.observe.MemberBillingStat.AcuByCategoryEntry: type: object properties: key: type: string title: key value: type: number title: value format: double title: AcuByCategoryEntry additionalProperties: false textql.rpc.public.observe.MemberBillingStat.AcuBySourceEntry: type: object properties: key: type: string title: key value: type: number title: value format: double title: AcuBySourceEntry additionalProperties: false textql.rpc.public.observe.MemberChatSourceStat: type: object properties: memberId: type: string title: member_id memberName: type: string title: member_name email: type: string title: email total: type: integer title: total format: int32 bySource: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.ChatSourceCount' title: by_source title: MemberChatSourceStat additionalProperties: false textql.rpc.public.observe.MemberSignalTrendPoint: type: object properties: memberId: type: string title: member_id bucketStart: type: string title: bucket_start description: YYYY-MM-DD, week start positive: type: integer title: positive format: int32 negative: type: integer title: negative format: int32 analyzed: type: integer title: analyzed format: int32 description: distinct analyzed threads in the bucket title: MemberSignalTrendPoint additionalProperties: false description: |- One (member, week) bucket of signal quality. Weeks with no signals and no analyzed threads are omitted; the client zero-fills the axis. textql.rpc.public.observe.ObservabilitySummary: type: object properties: totalRuns: type: integer title: total_runs format: int32 description: Totals totalThreads: type: integer title: total_threads format: int32 totalPlaybooks: type: integer title: total_playbooks format: int32 totalWarnings: type: integer title: total_warnings format: int32 warnRatePct: type: integer title: warn_rate_pct format: int32 runsDeltaPct: type: integer title: runs_delta_pct format: int32 description: Deltas (percentage change vs previous period) threadsDeltaPct: type: integer title: threads_delta_pct format: int32 playbooksDeltaPct: type: integer title: playbooks_delta_pct format: int32 warningsDeltaPct: type: integer title: warnings_delta_pct format: int32 runsSparkline: type: array items: type: integer format: int32 title: runs_sparkline description: Sparklines (14 daily values, oldest first) threadsSparkline: type: array items: type: integer format: int32 title: threads_sparkline playbooksSparkline: type: array items: type: integer format: int32 title: playbooks_sparkline warningsSparkline: type: array items: type: integer format: int32 title: warnings_sparkline totalFeedAgents: type: integer title: total_feed_agents format: int32 description: Feed agents feedAgentsDeltaPct: type: integer title: feed_agents_delta_pct format: int32 feedAgentsSparkline: type: array items: type: integer format: int32 title: feed_agents_sparkline totalSlack: type: integer title: total_slack format: int32 description: Slack chats slackDeltaPct: type: integer title: slack_delta_pct format: int32 slackSparkline: type: array items: type: integer format: int32 title: slack_sparkline totalTeams: type: integer title: total_teams format: int32 description: Teams chats teamsDeltaPct: type: integer title: teams_delta_pct format: int32 teamsSparkline: type: array items: type: integer format: int32 title: teams_sparkline totalPositive: type: integer title: total_positive format: int32 description: |- Positive signals (strength-category types). total_warnings/warn_rate_pct above count NEGATIVE signals only — strengths are tracked separately here and must never inflate the flagged metrics. positiveDeltaPct: type: integer title: positive_delta_pct format: int32 positiveSparkline: type: array items: type: integer format: int32 title: positive_sparkline title: ObservabilitySummary additionalProperties: false textql.rpc.public.observe.PlaybookBillingStat: type: object properties: playbookId: type: string title: playbook_id playbookName: type: string title: playbook_name ownerId: type: string title: owner_id ownerName: type: string title: owner_name totalAcu: type: number title: total_acu format: double description: llm_tokens, compute_hours, cell_execution llmAcu: type: number title: llm_acu format: double description: chat, feed, observability computeAcu: type: number title: compute_acu format: double runCount: type: integer title: run_count format: int32 dailyRunCounts: type: array items: type: integer format: int32 title: daily_run_counts isActive: type: boolean title: is_active title: PlaybookBillingStat additionalProperties: false textql.rpc.public.observe.RefineTopicDraftRequest: type: object properties: prompt: type: string title: prompt examples: type: array items: type: string title: examples exclusions: type: array items: type: string title: exclusions title: RefineTopicDraftRequest additionalProperties: false textql.rpc.public.observe.RefineTopicDraftResponse: type: object properties: name: type: string title: name covers: type: string title: covers description: example questions users ask excludes: type: string title: excludes description: '"should NOT be tagged" phrases' vague: type: boolean title: vague qualityHint: type: string title: quality_hint similarTopics: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.SimilarTopic' title: similar_topics title: RefineTopicDraftResponse additionalProperties: false textql.rpc.public.observe.SetTopicTagFeedbackRequest: type: object properties: topicId: type: string title: topic_id chatId: type: string title: chat_id excluded: type: boolean title: excluded reason: type: string title: reason title: SetTopicTagFeedbackRequest additionalProperties: false textql.rpc.public.observe.SetTopicTagFeedbackResponse: type: object title: SetTopicTagFeedbackResponse additionalProperties: false textql.rpc.public.observe.SimilarTopic: type: object properties: id: type: string title: id name: type: string title: name title: SimilarTopic additionalProperties: false textql.rpc.public.observe.ThreadWarning: type: object properties: id: type: string title: id chatId: type: string title: chat_id warningType: title: warning_type $ref: '#/components/schemas/textql.rpc.public.chat.ThreadWarningType' severity: type: string title: severity detail: type: string title: detail fixChatId: type: string title: fix_chat_id nullable: true fixPatchCell: title: fix_patch_cell nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.Cell' fixRunActive: type: boolean title: fix_run_active fixStatus: type: string title: fix_status nullable: true title: ThreadWarning additionalProperties: false textql.rpc.public.observe.ThreadWarningList: type: object properties: warnings: type: array items: $ref: '#/components/schemas/textql.rpc.public.observe.ThreadWarning' title: warnings title: ThreadWarningList additionalProperties: false textql.rpc.public.observe.TopicLifecycleRequest: type: object properties: topicId: type: string title: topic_id title: TopicLifecycleRequest additionalProperties: false textql.rpc.public.observe.TopicLifecycleResponse: type: object title: TopicLifecycleResponse additionalProperties: false textql.rpc.public.observe.UpdateCustomTopicRequest: type: object properties: topicId: type: string title: topic_id name: type: string title: name covers: type: string title: covers nullable: true excludes: type: string title: excludes description: '''live'' | ''backfill'' | ''manual''' nullable: true title: UpdateCustomTopicRequest additionalProperties: false textql.rpc.public.observe.UsageHeatmapPoint: type: object properties: dow: type: integer title: dow format: int32 description: 0=Sunday .. 6=Saturday (Postgres/JS convention) hour: type: integer title: hour format: int32 description: 0-23 total: type: integer title: total format: int32 title: UsageHeatmapPoint additionalProperties: false description: |- UsageHeatmapPoint is one (weekday, hour) bucket of chat volume, in the timezone requested via GetObservabilityStatsRequest.timezone. textql.rpc.public.observe.WarningTypeCount: type: object properties: warningType: title: warning_type $ref: '#/components/schemas/textql.rpc.public.chat.ThreadWarningType' total: type: integer title: total format: int32 title: WarningTypeCount additionalProperties: false textql.rpc.public.observe.WarningTypeDailyCount: type: object properties: date: type: string title: date description: YYYY-MM-DD warningType: title: warning_type $ref: '#/components/schemas/textql.rpc.public.chat.ThreadWarningType' total: type: integer title: total format: int32 title: WarningTypeDailyCount additionalProperties: false description: |- WarningTypeDailyCount is one (day, warning type) bucket for the warning breakdown-over-time chart. Derived from thread_warning joined to each chat's created_at. textql.rpc.public.observe.WarningTypeMeta: type: object properties: warningType: title: warning_type $ref: '#/components/schemas/textql.rpc.public.chat.ThreadWarningType' category: title: category $ref: '#/components/schemas/textql.rpc.public.chat.WarningCategory' title: WarningTypeMeta additionalProperties: false textql.rpc.public.ontology.AttributeData: type: object oneOf: - type: object properties: linked: title: linked $ref: '#/components/schemas/textql.rpc.public.ontology.LinkedAttributeData' title: linked required: - linked - type: object properties: unlinked: title: unlinked $ref: '#/components/schemas/textql.rpc.public.ontology.UnlinkedAttributeData' title: unlinked required: - unlinked title: AttributeData additionalProperties: false textql.rpc.public.ontology.AttributeRef: type: object properties: attributeRef: type: string title: attribute_ref title: AttributeRef additionalProperties: false textql.rpc.public.ontology.GraphPosition: type: object properties: x: type: number title: x format: double y: type: number title: y format: double title: GraphPosition additionalProperties: false textql.rpc.public.ontology.GraphProperties: type: object properties: position: title: position $ref: '#/components/schemas/textql.rpc.public.ontology.GraphPosition' icon: type: string title: icon color: type: string title: color title: GraphProperties additionalProperties: false textql.rpc.public.ontology.IntermediateJoin: type: object properties: tableName: type: string title: table_name leftColumn: type: string title: left_column rightColumn: type: string title: right_column title: IntermediateJoin additionalProperties: false textql.rpc.public.ontology.LinkedAttributeData: type: object properties: relationId: type: string title: relation_id targetAttributeId: type: string title: target_attribute_id title: LinkedAttributeData additionalProperties: false textql.rpc.public.ontology.MetricAggregation: type: string title: MetricAggregation enum: - METRIC_AGGREGATION_SUM - METRIC_AGGREGATION_COUNT - METRIC_AGGREGATION_AVG - METRIC_AGGREGATION_MIN - METRIC_AGGREGATION_MAX - METRIC_AGGREGATION_COUNT_DISTINCT - METRIC_AGGREGATION_MEDIAN - METRIC_AGGREGATION_ARRAY_AGG textql.rpc.public.ontology.ObjectRef: type: object properties: objectRef: type: string title: object_ref title: ObjectRef additionalProperties: false textql.rpc.public.ontology.OntologyAttribute: type: object properties: id: type: string title: id objectId: type: string title: object_id name: type: string title: name description: type: string title: description type: title: type $ref: '#/components/schemas/textql.rpc.public.ontology.OntologyAttributeType' isInherent: type: boolean title: is_inherent isMeasure: type: boolean title: is_measure isDimension: type: boolean title: is_dimension data: title: data $ref: '#/components/schemas/textql.rpc.public.ontology.AttributeData' accessTime: title: access_time $ref: '#/components/schemas/google.protobuf.Timestamp' title: OntologyAttribute additionalProperties: false textql.rpc.public.ontology.OntologyAttributeType: type: string title: OntologyAttributeType enum: - ONTOLOGY_ATTRIBUTE_TYPE_UNSPECIFIED - ONTOLOGY_ATTRIBUTE_TYPE_STRING - ONTOLOGY_ATTRIBUTE_TYPE_NUMBER - ONTOLOGY_ATTRIBUTE_TYPE_INT - ONTOLOGY_ATTRIBUTE_TYPE_BOOLEAN - ONTOLOGY_ATTRIBUTE_TYPE_DATE - ONTOLOGY_ATTRIBUTE_TYPE_DATE_TIME - ONTOLOGY_ATTRIBUTE_TYPE_TIMESTAMP - ONTOLOGY_ATTRIBUTE_TYPE_ENUM - ONTOLOGY_ATTRIBUTE_TYPE_JSON - ONTOLOGY_ATTRIBUTE_TYPE_JSONB - ONTOLOGY_ATTRIBUTE_TYPE_UUID textql.rpc.public.ontology.OntologyMetric: type: object properties: id: type: string title: id name: type: string title: name description: type: string title: description objectId: type: string title: object_id attribute: title: attribute $ref: '#/components/schemas/textql.rpc.public.ontology.AttributeRef' formula: type: string title: formula timeDimension: title: time_dimension $ref: '#/components/schemas/textql.rpc.public.ontology.AttributeRef' breakdowns: type: array items: $ref: '#/components/schemas/textql.rpc.public.ontology.AttributeRef' title: breakdowns aggregation: title: aggregation $ref: '#/components/schemas/textql.rpc.public.ontology.MetricAggregation' lod: type: array items: type: string title: lod accessTime: title: access_time $ref: '#/components/schemas/google.protobuf.Timestamp' title: OntologyMetric additionalProperties: false textql.rpc.public.ontology.OntologyObject: type: object allOf: - type: object properties: id: type: string title: id name: type: string title: name description: type: string title: description primaryKeyAttribute: title: primary_key_attribute $ref: '#/components/schemas/textql.rpc.public.ontology.AttributeRef' titleAttribute: title: title_attribute $ref: '#/components/schemas/textql.rpc.public.ontology.AttributeRef' interestingAttributes: type: array items: $ref: '#/components/schemas/textql.rpc.public.ontology.AttributeRef' title: interesting_attributes graphProperties: title: graph_properties $ref: '#/components/schemas/textql.rpc.public.ontology.GraphProperties' accessTime: title: access_time $ref: '#/components/schemas/google.protobuf.Timestamp' - oneOf: - type: object properties: backingQuery: type: string title: backing_query title: backing_query required: - backingQuery - type: object properties: backingTable: title: backing_table $ref: '#/components/schemas/textql.rpc.public.ontology.TableName' title: backing_table required: - backingTable title: OntologyObject additionalProperties: false description: Ontology entities textql.rpc.public.ontology.OntologyRelation: type: object properties: id: type: string title: id name: type: string title: name description: type: string title: description type: title: type $ref: '#/components/schemas/textql.rpc.public.ontology.RelationType' objectA: title: object_a $ref: '#/components/schemas/textql.rpc.public.ontology.ObjectRef' objectB: title: object_b $ref: '#/components/schemas/textql.rpc.public.ontology.ObjectRef' joinKeyA: title: join_key_a $ref: '#/components/schemas/textql.rpc.public.ontology.AttributeRef' joinKeyB: title: join_key_b $ref: '#/components/schemas/textql.rpc.public.ontology.AttributeRef' intermediateJoin: title: intermediate_join $ref: '#/components/schemas/textql.rpc.public.ontology.IntermediateJoin' joinFormula: type: string title: join_formula title: OntologyRelation additionalProperties: false textql.rpc.public.ontology.RelationType: type: string title: RelationType enum: - RELATION_TYPE_UNSPECIFIED - RELATION_TYPE_ONE_TO_MANY - RELATION_TYPE_MANY_TO_ONE - RELATION_TYPE_ONE_TO_ONE - RELATION_TYPE_MANY_TO_MANY textql.rpc.public.ontology.TableName: type: object properties: schema: type: string title: schema table: type: string title: table database: type: string title: database title: TableName additionalProperties: false description: Core data types textql.rpc.public.ontology.UnlinkedAttributeData: type: object properties: columnName: type: string title: column_name title: UnlinkedAttributeData additionalProperties: false textql.rpc.public.paradigm.Paradigm: type: object properties: type: title: type $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmType' version: type: integer title: version format: int32 options: title: options $ref: '#/components/schemas/textql.rpc.public.paradigm.ParadigmOptions' title: Paradigm additionalProperties: false description: ChatParadigm includes paradigm options textql.rpc.public.paradigm.ParadigmOptions: type: object oneOf: - type: object properties: universal: title: universal $ref: '#/components/schemas/textql.rpc.public.paradigm.UniversalOptions' title: universal required: - universal title: ParadigmOptions additionalProperties: false textql.rpc.public.paradigm.UniversalOptions: type: object properties: connectorIds: type: array items: type: integer format: int32 title: connector_ids datasetId: type: string title: dataset_id nullable: true webSearchEnabled: type: boolean title: web_search_enabled sqlEnabled: type: boolean title: sql_enabled ontologyEnabled: type: boolean title: ontology_enabled ontologyEditingEnabled: type: boolean title: ontology_editing_enabled pythonEnabled: type: boolean title: python_enabled autoApproveEnabled: type: boolean title: auto_approve_enabled googleDriveEnabled: type: boolean title: google_drive_enabled powerbiEnabled: type: boolean title: powerbi_enabled contextEditingEnabled: type: boolean title: context_editing_enabled formEditorEnabled: type: boolean title: form_editor_enabled playbookToolsEnabled: type: boolean title: playbook_tools_enabled microsoft365Enabled: type: boolean title: microsoft365_enabled feedExplorerEnabled: type: boolean title: feed_explorer_enabled bashEnabled: type: boolean title: bash_enabled javascriptEnabled: type: boolean title: javascript_enabled feedPostEnabled: type: boolean title: feed_post_enabled feedCommentEnabled: type: boolean title: feed_comment_enabled feedEngageEnabled: type: boolean title: feed_engage_enabled streamlitEnabled: type: boolean title: streamlit_enabled compactionDisabled: type: boolean title: compaction_disabled gmailEnabled: type: boolean title: gmail_enabled chatHistorySearchEnabled: type: boolean title: chat_history_search_enabled googleCalendarEnabled: type: boolean title: google_calendar_enabled emailOutputEnabled: type: boolean title: email_output_enabled powerbiSelections: type: array items: $ref: '#/components/schemas/textql.rpc.powerbi_selection.PowerBISelection' title: powerbi_selections smsMode: type: boolean title: sms_mode apiAccessKeyIds: type: array items: type: string title: api_access_key_ids feedEnabled: type: boolean title: feed_enabled nullable: true fileGenerationDisabled: type: boolean title: file_generation_disabled title: UniversalOptions additionalProperties: false textql.rpc.public.patches.AddOntologySubmoduleRequest: type: object properties: url: type: string title: url path: type: string title: path branch: type: string title: branch nullable: true title: AddOntologySubmoduleRequest additionalProperties: false textql.rpc.public.patches.AddOntologySubmoduleResponse: type: object properties: path: type: string title: path url: type: string title: url branch: type: string title: branch title: AddOntologySubmoduleResponse additionalProperties: false textql.rpc.public.patches.ApprovalRule: type: object properties: id: type: string title: id directoryPath: type: string title: directory_path requiredApprovals: type: integer title: required_approvals format: int32 roleIds: type: array items: type: string title: role_ids enabled: type: boolean title: enabled createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: ApprovalRule additionalProperties: false textql.rpc.public.patches.ApprovalRuleInput: type: object properties: directoryPath: type: string title: directory_path requiredApprovals: type: integer title: required_approvals format: int32 roleIds: type: array items: type: string title: role_ids enabled: type: boolean title: enabled nullable: true title: ApprovalRuleInput additionalProperties: false textql.rpc.public.patches.ApprovePatchRequest: type: object properties: patchId: type: string title: patch_id expectedGitRef: type: string title: expected_git_ref title: ApprovePatchRequest additionalProperties: false textql.rpc.public.patches.ApprovePatchResponse: type: object properties: merged: type: boolean title: merged approvalCount: type: integer title: approval_count format: int32 requiredApprovals: type: integer title: required_approvals format: int32 alreadyApproved: type: boolean title: already_approved awaitingRemoteMerge: type: boolean title: awaiting_remote_merge remotePrUrl: type: string title: remote_pr_url nullable: true title: ApprovePatchResponse additionalProperties: false textql.rpc.public.patches.AutoAttachEntry: type: object properties: path: type: string title: path connectorId: type: integer title: connector_id format: int32 apiConnectorIds: type: array items: type: string title: api_connector_ids roleIds: type: array items: type: string title: role_ids connectorIds: type: array items: type: integer format: int32 title: connector_ids matchNoConnector: type: boolean title: match_no_connector matchNoApiConnector: type: boolean title: match_no_api_connector matchAll: type: boolean title: match_all title: AutoAttachEntry additionalProperties: false textql.rpc.public.patches.CodeownerEntry: type: object properties: pattern: type: string title: pattern ownerMemberIds: type: array items: type: string title: owner_member_ids area: type: string title: area title: CodeownerEntry additionalProperties: false textql.rpc.public.patches.ConfigDiagnostic: type: object properties: path: type: string title: path message: type: string title: message class: title: class $ref: '#/components/schemas/textql.rpc.public.patches.ConfigDiagnosticClass' title: ConfigDiagnostic additionalProperties: false textql.rpc.public.patches.ConfigDiagnosticClass: type: string title: ConfigDiagnosticClass enum: - CONFIG_DIAGNOSTIC_CLASS_UNSPECIFIED - CONFIG_DIAGNOSTIC_CLASS_EDIT_FIXABLE - CONFIG_DIAGNOSTIC_CLASS_ORG_STATE_FIXABLE description: |- ConfigDiagnosticClass partitions a finding by who can fix it, so an authoring loop knows whether to keep iterating. textql.rpc.public.patches.ConfigureOntologyRemoteRequest: type: object properties: remoteUrl: type: string title: remote_url authType: type: string title: auth_type token: type: string title: token nullable: true sshPrivateKey: type: string title: ssh_private_key nullable: true sshKeyPassword: type: string title: ssh_key_password nullable: true defaultBranch: type: string title: default_branch nullable: true githubAppId: type: string title: github_app_id nullable: true githubAppInstallationId: type: string title: github_app_installation_id nullable: true githubAppPrivateKey: type: string title: github_app_private_key nullable: true signingKeyType: type: string title: signing_key_type nullable: true signingKey: type: string title: signing_key nullable: true pushMode: type: string title: push_mode nullable: true useHostedGithubApp: type: boolean title: use_hosted_github_app title: ConfigureOntologyRemoteRequest additionalProperties: false description: 'Deprecated: use SetOntologyOwnersRequest with an empty entry set.' textql.rpc.public.patches.ConfigureOntologyRemoteResponse: type: object properties: remote: title: remote $ref: '#/components/schemas/textql.rpc.public.patches.OntologyRemote' title: ConfigureOntologyRemoteResponse additionalProperties: false textql.rpc.public.patches.ContextPatchAutoApproveRule: type: object properties: id: type: string title: id directoryPath: type: string title: directory_path alwaysAutoApprove: type: boolean title: always_auto_approve roleIds: type: array items: type: string title: role_ids agentIds: type: array items: type: string title: agent_ids enabled: type: boolean title: enabled createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: ContextPatchAutoApproveRule additionalProperties: false textql.rpc.public.patches.ContextPatchAutoApproveRuleInput: type: object properties: directoryPath: type: string title: directory_path alwaysAutoApprove: type: boolean title: always_auto_approve roleIds: type: array items: type: string title: role_ids agentIds: type: array items: type: string title: agent_ids enabled: type: boolean title: enabled nullable: true title: ContextPatchAutoApproveRuleInput additionalProperties: false textql.rpc.public.patches.CreateApprovalRuleRequest: type: object properties: rule: title: rule $ref: '#/components/schemas/textql.rpc.public.patches.ApprovalRuleInput' title: CreateApprovalRuleRequest additionalProperties: false textql.rpc.public.patches.CreateApprovalRuleResponse: type: object properties: rule: title: rule $ref: '#/components/schemas/textql.rpc.public.patches.ApprovalRule' title: CreateApprovalRuleResponse additionalProperties: false textql.rpc.public.patches.CreateContextPatchAutoApproveRuleRequest: type: object properties: rule: title: rule $ref: '#/components/schemas/textql.rpc.public.patches.ContextPatchAutoApproveRuleInput' title: CreateContextPatchAutoApproveRuleRequest additionalProperties: false textql.rpc.public.patches.CreateContextPatchAutoApproveRuleResponse: type: object properties: rule: title: rule $ref: '#/components/schemas/textql.rpc.public.patches.ContextPatchAutoApproveRule' title: CreateContextPatchAutoApproveRuleResponse additionalProperties: false textql.rpc.public.patches.CreateOntologyDirectoryRequest: type: object properties: path: type: string title: path commitMessage: type: string title: commit_message nullable: true title: CreateOntologyDirectoryRequest additionalProperties: false textql.rpc.public.patches.CreateOntologyDirectoryResponse: type: object properties: entry: title: entry $ref: '#/components/schemas/textql.rpc.public.patches.OntologyEntry' title: CreateOntologyDirectoryResponse additionalProperties: false textql.rpc.public.patches.CreateOntologyFileUploadUrlRequest: type: object properties: path: type: string title: path mimeType: type: string title: mime_type sizeBytes: type: - integer - string title: size_bytes format: int64 title: CreateOntologyFileUploadUrlRequest additionalProperties: false textql.rpc.public.patches.CreateOntologyFileUploadUrlResponse: type: object properties: uploadUrl: type: string title: upload_url uploadKey: type: string title: upload_key title: CreateOntologyFileUploadUrlResponse additionalProperties: false description: |- Counts of the entries a caller may see beneath a subtree. Excludes the subtree root itself and reserved names (OWNERS, .gitignore, .DS_Store, .tmp-*), which are bookkeeping rather than Ontology content. textql.rpc.public.patches.DailyFileUsage: type: object properties: date: title: date $ref: '#/components/schemas/textql.rpc.public.patches.Date' averageTokens: type: integer title: average_tokens format: int32 averageQueryTime: title: average_query_time $ref: '#/components/schemas/google.protobuf.Duration' hitRate: type: number title: hit_rate format: float numErrors: type: integer title: num_errors format: int32 numEmpties: type: integer title: num_empties format: int32 chatsPulled: type: integer title: chats_pulled format: int32 chatsUsed: type: integer title: chats_used format: int32 title: DailyFileUsage additionalProperties: false textql.rpc.public.patches.Date: type: object properties: year: type: integer title: year format: int32 month: type: integer title: month format: int32 day: type: integer title: day format: int32 title: Date additionalProperties: false textql.rpc.public.patches.DeleteApprovalRuleRequest: type: object properties: id: type: string title: id title: DeleteApprovalRuleRequest additionalProperties: false textql.rpc.public.patches.DeleteContextPatchAutoApproveRuleRequest: type: object properties: id: type: string title: id title: DeleteContextPatchAutoApproveRuleRequest additionalProperties: false textql.rpc.public.patches.DeleteOntologyDirectoryRequest: type: object properties: path: type: string title: path commitMessage: type: string title: commit_message nullable: true recursive: type: boolean title: recursive title: DeleteOntologyDirectoryRequest additionalProperties: false textql.rpc.public.patches.DeleteOntologyFileRequest: type: object properties: path: type: string title: path commitMessage: type: string title: commit_message nullable: true title: DeleteOntologyFileRequest additionalProperties: false textql.rpc.public.patches.DenyPatchRequest: type: object properties: patchId: type: string title: patch_id expectedGitRef: type: string title: expected_git_ref title: DenyPatchRequest additionalProperties: false textql.rpc.public.patches.ExchangeOntologyGithubCodeRequest: type: object properties: code: type: string title: code state: type: string title: state codeVerifier: type: string title: code_verifier title: ExchangeOntologyGithubCodeRequest additionalProperties: false textql.rpc.public.patches.ExchangeOntologyGithubCodeResponse: type: object properties: success: type: boolean title: success installations: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.GithubInstallation' title: installations title: ExchangeOntologyGithubCodeResponse additionalProperties: false textql.rpc.public.patches.FileChatUsage: type: object properties: chatId: type: string title: chat_id description: default 7d title: type: string title: title lastPulled: title: last_pulled $ref: '#/components/schemas/google.protobuf.Timestamp' used: type: boolean title: used title: FileChatUsage additionalProperties: false textql.rpc.public.patches.FileUsage: type: object properties: filePath: type: string title: file_path averageTokens: type: integer title: average_tokens format: int32 averageQueryTime: title: average_query_time $ref: '#/components/schemas/google.protobuf.Duration' hitRate: type: number title: hit_rate format: float numErrors: type: integer title: num_errors format: int32 numEmpties: type: integer title: num_empties format: int32 chatsPulled: type: integer title: chats_pulled format: int32 chatsUsed: type: integer title: chats_used format: int32 lastPulled: title: last_pulled $ref: '#/components/schemas/google.protobuf.Timestamp' lastRun: title: last_run $ref: '#/components/schemas/google.protobuf.Timestamp' lastUsed: title: last_used $ref: '#/components/schemas/google.protobuf.Timestamp' chatsCited: type: integer title: chats_cited format: int32 title: FileUsage additionalProperties: false textql.rpc.public.patches.FinalizeOntologyFileUploadRequest: type: object properties: path: type: string title: path uploadKey: type: string title: upload_key commitMessage: type: string title: commit_message nullable: true title: FinalizeOntologyFileUploadRequest additionalProperties: false textql.rpc.public.patches.FinalizeOntologyFileUploadResponse: type: object properties: file: title: file $ref: '#/components/schemas/textql.rpc.public.patches.OntologyFile' title: FinalizeOntologyFileUploadResponse additionalProperties: false textql.rpc.public.patches.GetCodeownerCoverageRequest: type: object title: GetCodeownerCoverageRequest additionalProperties: false textql.rpc.public.patches.GetCodeownerCoverageResponse: type: object properties: totalFiles: type: integer title: total_files format: int32 coveredFiles: type: integer title: covered_files format: int32 coveragePct: type: number title: coverage_pct format: double uncoveredFiles: type: array items: type: string title: uncovered_files title: GetCodeownerCoverageResponse additionalProperties: false textql.rpc.public.patches.GetConfigExportCapabilitiesRequest: type: object title: GetConfigExportCapabilitiesRequest additionalProperties: false textql.rpc.public.patches.GetConfigExportCapabilitiesResponse: type: object properties: objectTypes: type: array items: type: string title: object_types canCreatePatches: type: boolean title: can_create_patches title: GetConfigExportCapabilitiesResponse additionalProperties: false textql.rpc.public.patches.GetEffectiveOntologyOwnersRequest: type: object properties: path: type: string title: path title: GetEffectiveOntologyOwnersRequest additionalProperties: false textql.rpc.public.patches.GetEffectiveOntologyOwnersResponse: type: object properties: path: type: string title: path entries: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologyOwnerEntry' title: entries unlistedPrincipalPermission: title: unlisted_principal_permission $ref: '#/components/schemas/textql.rpc.public.patches.OntologyPermission' title: GetEffectiveOntologyOwnersResponse additionalProperties: false textql.rpc.public.patches.GetFileUsageRequest: type: object properties: pathPrefix: type: string title: path_prefix nullable: true order: title: order nullable: true $ref: '#/components/schemas/textql.rpc.public.patches.UsageOrderBy' observationPeriod: title: observation_period nullable: true $ref: '#/components/schemas/google.protobuf.Duration' pageCursor: type: string title: page_cursor nullable: true pageSize: type: integer title: page_size format: int32 nullable: true title: GetFileUsageRequest additionalProperties: false textql.rpc.public.patches.GetFileUsageResponse: type: object properties: files: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.FileUsage' title: files nextPageCursor: type: string title: next_page_cursor nullable: true title: GetFileUsageResponse additionalProperties: false textql.rpc.public.patches.GetFileUsageTimelineRequest: type: object properties: pathPrefix: type: string title: path_prefix nullable: true observationPeriod: title: observation_period nullable: true $ref: '#/components/schemas/google.protobuf.Duration' title: GetFileUsageTimelineRequest additionalProperties: false textql.rpc.public.patches.GetFileUsageTimelineResponse: type: object properties: days: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.DailyFileUsage' title: days title: GetFileUsageTimelineResponse additionalProperties: false textql.rpc.public.patches.GetOntologyAnaConfigRequest: type: object properties: path: type: string title: path title: GetOntologyAnaConfigRequest additionalProperties: false textql.rpc.public.patches.GetOntologyAnaConfigResponse: type: object properties: config: title: config $ref: '#/components/schemas/textql.rpc.public.patches.OntologyAnaConfig' title: GetOntologyAnaConfigResponse additionalProperties: false textql.rpc.public.patches.GetOntologyFileRequest: type: object properties: path: type: string title: path title: GetOntologyFileRequest additionalProperties: false textql.rpc.public.patches.GetOntologyFileResponse: type: object properties: file: title: file $ref: '#/components/schemas/textql.rpc.public.patches.OntologyFile' title: GetOntologyFileResponse additionalProperties: false textql.rpc.public.patches.GetOntologyGithubOAuthURLRequest: type: object properties: state: type: string title: state codeChallenge: type: string title: code_challenge title: GetOntologyGithubOAuthURLRequest additionalProperties: false textql.rpc.public.patches.GetOntologyGithubOAuthURLResponse: type: object properties: authorizeUrl: type: string title: authorize_url installUrl: type: string title: install_url available: type: boolean title: available title: GetOntologyGithubOAuthURLResponse additionalProperties: false textql.rpc.public.patches.GetOntologyHistoryFileDiffRequest: type: object properties: commitId: type: string title: commit_id path: type: string title: path title: GetOntologyHistoryFileDiffRequest additionalProperties: false textql.rpc.public.patches.GetOntologyHistoryFileDiffResponse: type: object properties: commitId: type: string title: commit_id path: type: string title: path previousPath: type: string title: previous_path nullable: true changeType: title: change_type $ref: '#/components/schemas/textql.rpc.public.patches.OntologyHistoryChangeType' beforeContent: type: string title: before_content afterContent: type: string title: after_content isBinary: type: boolean title: is_binary title: GetOntologyHistoryFileDiffResponse additionalProperties: false textql.rpc.public.patches.GetOntologyOwnersRequest: type: object properties: path: type: string title: path title: GetOntologyOwnersRequest additionalProperties: false textql.rpc.public.patches.GetOntologyOwnersResponse: type: object properties: owners: title: owners $ref: '#/components/schemas/textql.rpc.public.patches.OntologyOwners' title: GetOntologyOwnersResponse additionalProperties: false textql.rpc.public.patches.GetOntologyRemoteRequest: type: object title: GetOntologyRemoteRequest additionalProperties: false textql.rpc.public.patches.GetOntologyRemoteResponse: type: object properties: remote: title: remote nullable: true $ref: '#/components/schemas/textql.rpc.public.patches.OntologyRemote' hostedGithubAppAvailable: type: boolean title: hosted_github_app_available hostedGithubAppSlug: type: string title: hosted_github_app_slug nullable: true githubOauthAvailable: type: boolean title: github_oauth_available title: GetOntologyRemoteResponse additionalProperties: false textql.rpc.public.patches.GetOntologySizeTimelineRequest: type: object properties: observationPeriod: title: observation_period description: |- Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. nullable: true $ref: '#/components/schemas/google.protobuf.Duration' title: GetOntologySizeTimelineRequest additionalProperties: false description: copied from google.type.Date; not available in buf's google/protobuf/* textql.rpc.public.patches.GetOntologySizeTimelineResponse: type: object properties: days: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologySizeDay' title: days title: GetOntologySizeTimelineResponse additionalProperties: false textql.rpc.public.patches.GetOntologySyncConflictsRequest: type: object title: GetOntologySyncConflictsRequest additionalProperties: false textql.rpc.public.patches.GetOntologySyncConflictsResponse: type: object properties: conflicts: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologySyncConflict' title: conflicts title: GetOntologySyncConflictsResponse additionalProperties: false textql.rpc.public.patches.GetOntologyUsageSummaryRequest: type: object properties: observationPeriod: title: observation_period nullable: true $ref: '#/components/schemas/google.protobuf.Duration' title: GetOntologyUsageSummaryRequest additionalProperties: false textql.rpc.public.patches.GetOntologyUsageSummaryResponse: type: object properties: totalFiles: type: integer title: total_files format: int32 pulledFiles: type: integer title: pulled_files format: int32 deadFiles: type: integer title: dead_files format: int32 avgHitRate: type: number title: avg_hit_rate format: float errorFiles: type: integer title: error_files format: int32 reclaimableTokens: type: - integer - string title: reclaimable_tokens format: int64 tqlPulledFiles: type: integer title: tql_pulled_files format: int32 avgDocCitedRate: type: number title: avg_doc_cited_rate format: float docPulledFiles: type: integer title: doc_pulled_files format: int32 docCitationsEnabled: type: boolean title: doc_citations_enabled title: GetOntologyUsageSummaryResponse additionalProperties: false textql.rpc.public.patches.GetPatchByNumberRequest: type: object properties: number: type: integer title: number format: int32 title: GetPatchByNumberRequest additionalProperties: false textql.rpc.public.patches.GetPatchCapabilitiesRequest: type: object properties: patchId: type: string title: patch_id description: Library path of the file that defines the object title: GetPatchCapabilitiesRequest additionalProperties: false description: PatchObject is one config object parsed from a patch ref. textql.rpc.public.patches.GetPatchCapabilitiesResponse: type: object properties: capabilities: title: capabilities $ref: '#/components/schemas/textql.rpc.public.patches.PatchCapabilities' status: title: status $ref: '#/components/schemas/textql.rpc.public.patches.PatchStatus' title: GetPatchCapabilitiesResponse additionalProperties: false textql.rpc.public.patches.GetPatchRequest: type: object properties: patchId: type: string title: patch_id revision: type: integer title: revision format: int32 nullable: true title: GetPatchRequest additionalProperties: false description: |- GetConfigExportCapabilities tells the UI whether to offer "Save as config": which object types currently have a working exporter (registered AND its dependencies — e.g. the ontology parser — reachable), and whether the caller holds the permission SaveObjectAsConfig requires. Authn-only: the response carries the authorization answer instead of failing the call. textql.rpc.public.patches.GetRawPatchRequest: type: object properties: patchNumber: type: integer title: patch_number format: int32 title: GetRawPatchRequest additionalProperties: false textql.rpc.public.patches.GetRawPatchResponse: type: object properties: rawPatch: type: string title: raw_patch title: GetRawPatchResponse additionalProperties: false textql.rpc.public.patches.GetUsageDetailsForFileRequest: type: object properties: filePath: type: string title: file_path observationPeriod: title: observation_period nullable: true $ref: '#/components/schemas/google.protobuf.Duration' title: GetUsageDetailsForFileRequest additionalProperties: false textql.rpc.public.patches.GetUsageDetailsForFileResponse: type: object properties: lastUsed: title: last_used $ref: '#/components/schemas/google.protobuf.Timestamp' days: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.DailyFileUsage' title: days title: GetUsageDetailsForFileResponse additionalProperties: false textql.rpc.public.patches.GithubInstallation: type: object properties: id: type: string title: id account: type: string title: account repos: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.GithubInstallationRepo' title: repos reposError: type: string title: repos_error title: GithubInstallation additionalProperties: false textql.rpc.public.patches.GithubInstallationRepo: type: object properties: fullName: type: string title: full_name cloneUrl: type: string title: clone_url defaultBranch: type: string title: default_branch private: type: boolean title: private title: GithubInstallationRepo additionalProperties: false textql.rpc.public.patches.GoldenEntry: type: object properties: path: type: string title: path setByMemberId: type: string title: set_by_member_id description: 'deprecated: use connector_ids' setAt: title: set_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: GoldenEntry additionalProperties: false textql.rpc.public.patches.ListApprovalRulesRequest: type: object title: ListApprovalRulesRequest additionalProperties: false textql.rpc.public.patches.ListApprovalRulesResponse: type: object properties: rules: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.ApprovalRule' title: rules title: ListApprovalRulesResponse additionalProperties: false textql.rpc.public.patches.ListChatsForFileRequest: type: object properties: filePath: type: string title: file_path observationPeriod: title: observation_period nullable: true $ref: '#/components/schemas/google.protobuf.Duration' limit: type: integer title: limit format: int32 nullable: true title: ListChatsForFileRequest additionalProperties: false textql.rpc.public.patches.ListChatsForFileResponse: type: object properties: chats: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.FileChatUsage' title: chats title: ListChatsForFileResponse additionalProperties: false description: |- Aggregate ontology-usage health for the window — the roll-ups the Ontology Health hero needs without paging every file to the client. pulled_files, avg_hit_rate, and error_files are Postgres aggregates over the pull/run data; total_files, dead_files, and reclaimable_tokens come from the current git tree diffed against the set of pulled paths (a dead file is one present in the ontology but never pulled in the window). textql.rpc.public.patches.ListContextPatchAutoApproveRulesRequest: type: object title: ListContextPatchAutoApproveRulesRequest additionalProperties: false textql.rpc.public.patches.ListContextPatchAutoApproveRulesResponse: type: object properties: rules: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.ContextPatchAutoApproveRule' title: rules title: ListContextPatchAutoApproveRulesResponse additionalProperties: false textql.rpc.public.patches.ListGoldenFilesRequest: type: object title: ListGoldenFilesRequest additionalProperties: false textql.rpc.public.patches.ListGoldenFilesResponse: type: object properties: golden: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.GoldenEntry' title: golden description: full active list after the change title: ListGoldenFilesResponse additionalProperties: false textql.rpc.public.patches.ListOntologyEntriesRequest: type: object properties: path: type: string title: path recursive: type: boolean title: recursive nullable: true includeDebugFiles: type: boolean title: include_debug_files title: ListOntologyEntriesRequest additionalProperties: false textql.rpc.public.patches.ListOntologyEntriesResponse: type: object properties: entries: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologyEntry' title: entries title: ListOntologyEntriesResponse additionalProperties: false textql.rpc.public.patches.ListOntologyHistoryRequest: type: object properties: pageSize: type: integer title: page_size format: int32 nullable: true pageToken: type: string title: page_token nullable: true path: type: string title: path nullable: true title: ListOntologyHistoryRequest additionalProperties: false textql.rpc.public.patches.ListOntologyHistoryResponse: type: object properties: history: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologyHistoryEntry' title: history nextPageToken: type: string title: next_page_token nullable: true title: ListOntologyHistoryResponse additionalProperties: false textql.rpc.public.patches.ListOntologyImportsRequest: type: object title: ListOntologyImportsRequest additionalProperties: false textql.rpc.public.patches.ListOntologyImportsResponse: type: object properties: imports: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologyImportEdge' title: imports title: ListOntologyImportsResponse additionalProperties: false textql.rpc.public.patches.ListOntologySubmodulesRequest: type: object title: ListOntologySubmodulesRequest additionalProperties: false textql.rpc.public.patches.ListOntologySubmodulesResponse: type: object properties: submodules: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologySubmodule' title: submodules title: ListOntologySubmodulesResponse additionalProperties: false textql.rpc.public.patches.ListOntologySyncRunsRequest: type: object properties: pageSize: type: integer title: page_size format: int32 nullable: true pageToken: type: string title: page_token nullable: true title: ListOntologySyncRunsRequest additionalProperties: false textql.rpc.public.patches.ListOntologySyncRunsResponse: type: object properties: runs: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologySyncRun' title: runs nextPageToken: type: string title: next_page_token nullable: true title: ListOntologySyncRunsResponse additionalProperties: false textql.rpc.public.patches.ListPatchObjectsRequest: type: object properties: patchRef: type: string title: patch_ref description: path is the config file the finding is attributed to. title: ListPatchObjectsRequest additionalProperties: false textql.rpc.public.patches.ListPatchObjectsResponse: type: object properties: objects: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.PatchObject' title: objects description: git ref of the patch to inspect title: ListPatchObjectsResponse additionalProperties: false description: ListPatchObjectsRequest inspects the config objects at a patch's git ref. textql.rpc.public.patches.ListPatchReviewersRequest: type: object properties: patchId: type: string title: patch_id title: ListPatchReviewersRequest additionalProperties: false textql.rpc.public.patches.ListPatchReviewersResponse: type: object properties: reviewers: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.PatchReviewer' title: reviewers title: ListPatchReviewersResponse additionalProperties: false textql.rpc.public.patches.ListPatchesRequest: type: object properties: pageSize: type: integer title: page_size format: int32 nullable: true pageToken: type: string title: page_token nullable: true statuses: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.PatchStatus' title: statuses includeAutoApproved: type: boolean title: include_auto_approved nullable: true title: ListPatchesRequest additionalProperties: false textql.rpc.public.patches.ListPatchesResponse: type: object properties: patches: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.Patch' title: patches nextPageToken: type: string title: next_page_token nullable: true counts: title: counts nullable: true $ref: '#/components/schemas/textql.rpc.public.patches.PatchStatusCounts' title: ListPatchesResponse additionalProperties: false textql.rpc.public.patches.ListSkillsRequest: type: object properties: includeUnlisted: type: boolean title: include_unlisted description: Picker callers leave unset so hidden skills stay hidden; tooling opts in. title: ListSkillsRequest additionalProperties: false textql.rpc.public.patches.ListSkillsResponse: type: object properties: skills: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.Skill' title: skills title: ListSkillsResponse additionalProperties: false textql.rpc.public.patches.OntologyAnaConfig: type: object properties: path: type: string title: path autoAttach: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.AutoAttachEntry' title: auto_attach canWrite: type: boolean title: can_write updatedAt: title: updated_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' codeowners: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.CodeownerEntry' title: codeowners title: OntologyAnaConfig additionalProperties: false textql.rpc.public.patches.OntologyEntry: type: object properties: path: type: string title: path name: type: string title: name isDir: type: boolean title: is_dir sizeBytes: type: - integer - string title: size_bytes format: int64 nullable: true updatedAt: title: updated_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' canWrite: type: boolean title: can_write canRead: type: boolean title: can_read configSyncStatus: title: config_sync_status $ref: '#/components/schemas/textql.rpc.public.config_source.ConfigSyncStatus' configObjectId: type: string title: config_object_id nullable: true configSyncError: type: string title: config_sync_error nullable: true title: OntologyEntry additionalProperties: false textql.rpc.public.patches.OntologyFile: type: object properties: path: type: string title: path name: type: string title: name content: type: string title: content updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' canWrite: type: boolean title: can_write kind: title: kind $ref: '#/components/schemas/textql.rpc.public.patches.OntologyFileKind' mimeType: type: string title: mime_type sizeBytes: type: - integer - string title: size_bytes format: int64 binaryContent: type: string title: binary_content format: byte title: OntologyFile additionalProperties: false textql.rpc.public.patches.OntologyFileKind: type: string title: OntologyFileKind enum: - ONTOLOGY_FILE_KIND_UNSPECIFIED - ONTOLOGY_FILE_KIND_TEXT - ONTOLOGY_FILE_KIND_PDF - ONTOLOGY_FILE_KIND_IMAGE - ONTOLOGY_FILE_KIND_ASSET - ONTOLOGY_FILE_KIND_TABULAR textql.rpc.public.patches.OntologyHistoryChangeType: type: string title: OntologyHistoryChangeType enum: - ONTOLOGY_HISTORY_CHANGE_TYPE_UNSPECIFIED - ONTOLOGY_HISTORY_CHANGE_TYPE_ADDED - ONTOLOGY_HISTORY_CHANGE_TYPE_MODIFIED - ONTOLOGY_HISTORY_CHANGE_TYPE_DELETED - ONTOLOGY_HISTORY_CHANGE_TYPE_RENAMED textql.rpc.public.patches.OntologyHistoryChangedFile: type: object properties: path: type: string title: path previousPath: type: string title: previous_path nullable: true changeType: title: change_type $ref: '#/components/schemas/textql.rpc.public.patches.OntologyHistoryChangeType' title: OntologyHistoryChangedFile additionalProperties: false textql.rpc.public.patches.OntologyHistoryEntry: type: object properties: commitId: type: string title: commit_id committedAt: title: committed_at $ref: '#/components/schemas/google.protobuf.Timestamp' authorEmail: type: string title: author_email authorName: type: string title: author_name message: type: string title: message nullable: true changedFiles: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologyHistoryChangedFile' title: changed_files title: OntologyHistoryEntry additionalProperties: false textql.rpc.public.patches.OntologyImportEdge: type: object properties: sourcePath: type: string title: source_path targetPath: type: string title: target_path alias: type: string title: alias title: OntologyImportEdge additionalProperties: false textql.rpc.public.patches.OntologyMergeOutcome: type: string title: OntologyMergeOutcome enum: - ONTOLOGY_MERGE_OUTCOME_UNSPECIFIED - ONTOLOGY_MERGE_OUTCOME_ALREADY_UP_TO_DATE - ONTOLOGY_MERGE_OUTCOME_LOCAL_AHEAD - ONTOLOGY_MERGE_OUTCOME_FAST_FORWARD - ONTOLOGY_MERGE_OUTCOME_BOOTSTRAP_ADOPT - ONTOLOGY_MERGE_OUTCOME_MERGE_REQUIRED - ONTOLOGY_MERGE_OUTCOME_UNRELATED_HISTORIES textql.rpc.public.patches.OntologyOwnerEntry: type: object properties: roleId: type: string title: role_id permission: title: permission $ref: '#/components/schemas/textql.rpc.public.patches.OntologyPermission' memberId: type: string title: member_id nullable: true title: OntologyOwnerEntry additionalProperties: false textql.rpc.public.patches.OntologyOwners: type: object properties: path: type: string title: path entries: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologyOwnerEntry' title: entries canWrite: type: boolean title: can_write updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: OntologyOwners additionalProperties: false textql.rpc.public.patches.OntologyPermission: type: string title: OntologyPermission enum: - ONTOLOGY_PERMISSION_UNSPECIFIED - ONTOLOGY_PERMISSION_EXECUTE - ONTOLOGY_PERMISSION_READ - ONTOLOGY_PERMISSION_READ_EXECUTE - ONTOLOGY_PERMISSION_READ_WRITE - ONTOLOGY_PERMISSION_READ_WRITE_EXECUTE textql.rpc.public.patches.OntologyRemote: type: object properties: id: type: string title: id remoteUrl: type: string title: remote_url authType: type: string title: auth_type defaultBranch: type: string title: default_branch createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' syncEnabled: type: boolean title: sync_enabled syncIntervalMinutes: type: integer title: sync_interval_minutes format: int32 lastSyncedAt: title: last_synced_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' lastSyncError: type: string title: last_sync_error nullable: true signingKeyType: type: string title: signing_key_type githubAppId: type: string title: github_app_id nullable: true githubAppInstallationId: type: string title: github_app_installation_id nullable: true hasConflicts: type: boolean title: has_conflicts pushMode: type: string title: push_mode openPrUrl: type: string title: open_pr_url nullable: true openPrNumber: type: integer title: open_pr_number format: int32 nullable: true title: OntologyRemote additionalProperties: false description: 'Deprecated: use SetOntologyOwnersResponse.' textql.rpc.public.patches.OntologySizeDay: type: object properties: date: title: date $ref: '#/components/schemas/textql.rpc.public.patches.Date' totalBytes: type: - integer - string title: total_bytes format: int64 fileCount: type: integer title: file_count format: int32 title: OntologySizeDay additionalProperties: false textql.rpc.public.patches.OntologySubmodule: type: object properties: name: type: string title: name path: type: string title: path url: type: string title: url branch: type: string title: branch title: OntologySubmodule additionalProperties: false textql.rpc.public.patches.OntologySyncConflict: type: object properties: id: type: string title: id filePath: type: string title: file_path oursContent: type: string title: ours_content theirsContent: type: string title: theirs_content baseContent: type: string title: base_content createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: OntologySyncConflict additionalProperties: false textql.rpc.public.patches.OntologySyncRun: type: object properties: id: type: string title: id remoteId: type: string title: remote_id nullable: true remoteUrl: type: string title: remote_url nullable: true defaultBranch: type: string title: default_branch nullable: true source: type: string title: source status: title: status $ref: '#/components/schemas/textql.rpc.public.patches.OntologySyncRunStatus' startedAt: title: started_at $ref: '#/components/schemas/google.protobuf.Timestamp' completedAt: title: completed_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' errorMessage: type: string title: error_message nullable: true conflictCount: type: integer title: conflict_count format: int32 title: OntologySyncRun additionalProperties: false textql.rpc.public.patches.OntologySyncRunStatus: type: string title: OntologySyncRunStatus enum: - ONTOLOGY_SYNC_RUN_STATUS_UNSPECIFIED - ONTOLOGY_SYNC_RUN_STATUS_IN_PROGRESS - ONTOLOGY_SYNC_RUN_STATUS_SUCCEEDED - ONTOLOGY_SYNC_RUN_STATUS_FAILED - ONTOLOGY_SYNC_RUN_STATUS_CONFLICTS textql.rpc.public.patches.Patch: type: object properties: id: type: string title: id number: type: integer title: number format: int32 authorId: type: string title: author_id title: type: string title: title description: type: string title: description chatId: type: string title: chat_id nullable: true aiGenerated: type: boolean title: ai_generated diffs: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.PatchDiff' title: diffs status: title: status $ref: '#/components/schemas/textql.rpc.public.patches.PatchStatus' gitRef: type: string title: git_ref revision: type: integer title: revision format: int32 headAtMerge: type: string title: head_at_merge nullable: true reviewerId: type: string title: reviewer_id nullable: true createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' authorEmail: type: string title: author_email nullable: true authorName: type: string title: author_name nullable: true approvalCount: type: integer title: approval_count format: int32 requiredApprovals: type: integer title: required_approvals format: int32 capabilities: title: capabilities nullable: true $ref: '#/components/schemas/textql.rpc.public.patches.PatchCapabilities' codeOwnerStatus: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.PatchCodeownerStatus' title: code_owner_status requestedReviewerMemberIds: type: array items: type: string title: requested_reviewer_member_ids remotePrUrl: type: string title: remote_pr_url nullable: true remotePrNumber: type: integer title: remote_pr_number format: int32 nullable: true title: Patch additionalProperties: false textql.rpc.public.patches.PatchCapabilities: type: object properties: canApprove: type: boolean title: can_approve canDeny: type: boolean title: can_deny canRestore: type: boolean title: can_restore callerApproved: type: boolean title: caller_approved title: PatchCapabilities additionalProperties: false textql.rpc.public.patches.PatchCodeownerStatus: type: object properties: pattern: type: string title: pattern ownerMemberIds: type: array items: type: string title: owner_member_ids requireApprovals: type: integer title: require_approvals format: int32 approvalCount: type: integer title: approval_count format: int32 satisfied: type: boolean title: satisfied title: PatchCodeownerStatus additionalProperties: false textql.rpc.public.patches.PatchDiff: type: object properties: name: type: string title: name oldPath: type: string title: old_path newPath: type: string title: new_path hunks: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.PatchHunk' title: hunks additions: type: - integer - string title: additions format: int64 deletions: type: - integer - string title: deletions format: int64 isBinary: type: boolean title: is_binary isNew: type: boolean title: is_new isCopy: type: boolean title: is_copy isRename: type: boolean title: is_rename isDelete: type: boolean title: is_delete oldContent: type: string title: old_content nullable: true newContent: type: string title: new_content nullable: true title: PatchDiff additionalProperties: false textql.rpc.public.patches.PatchHunk: type: object properties: comment: type: string title: comment oldPosition: type: - integer - string title: old_position format: int64 oldLines: type: - integer - string title: old_lines format: int64 newPosition: type: - integer - string title: new_position format: int64 newLines: type: - integer - string title: new_lines format: int64 linesAdded: type: - integer - string title: lines_added format: int64 linesDeleted: type: - integer - string title: lines_deleted format: int64 leadingContext: type: - integer - string title: leading_context format: int64 trailingContext: type: - integer - string title: trailing_context format: int64 lines: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.PatchLine' title: lines title: PatchHunk additionalProperties: false textql.rpc.public.patches.PatchLine: type: object properties: op: title: op $ref: '#/components/schemas/textql.rpc.public.patches.PatchLineOp' line: type: string title: line title: PatchLine additionalProperties: false textql.rpc.public.patches.PatchLineOp: type: string title: PatchLineOp enum: - PATCH_LINE_OP_CONTEXT - PATCH_LINE_OP_DELETE - PATCH_LINE_OP_ADD textql.rpc.public.patches.PatchObject: type: object properties: path: type: string title: path name: type: string title: name type: type: string title: type title: PatchObject additionalProperties: false description: |- ValidateConfigResponse: ok == true with no diagnostics means functionally valid against current org state — not a merge guarantee. textql.rpc.public.patches.PatchReviewer: type: object properties: memberId: type: string title: member_id name: type: string title: name email: type: string title: email profileImageUrl: type: string title: profile_image_url isAdmin: type: boolean title: is_admin isCodeOwner: type: boolean title: is_code_owner title: PatchReviewer additionalProperties: false textql.rpc.public.patches.PatchStatus: type: string title: PatchStatus enum: - PATCH_STATUS_UNKNOWN - PATCH_STATUS_RESERVED - PATCH_STATUS_DRAFT - PATCH_STATUS_OPEN - PATCH_STATUS_APPROVED - PATCH_STATUS_DENIED - PATCH_STATUS_AWAITING_REMOTE_MERGE textql.rpc.public.patches.PatchStatusCounts: type: object properties: open: type: integer title: open format: int32 draftMine: type: integer title: draft_mine format: int32 approved: type: integer title: approved format: int32 denied: type: integer title: denied format: int32 openMine: type: integer title: open_mine format: int32 title: PatchStatusCounts additionalProperties: false description: |- PatchCapabilities describes which patch actions the calling member is permitted to perform. This is a read-only mirror of the authority checks in ApprovePatch and DenyPatch; computing it has no side effects and emits no audit log. textql.rpc.public.patches.PlanOntologyMergeRequest: type: object title: PlanOntologyMergeRequest additionalProperties: false textql.rpc.public.patches.PlanOntologyMergeResponse: type: object properties: outcome: title: outcome $ref: '#/components/schemas/textql.rpc.public.patches.OntologyMergeOutcome' localHeadHash: type: string title: local_head_hash remoteHeadHash: type: string title: remote_head_hash remoteAdditionPaths: type: array items: type: string title: remote_addition_paths conflictPaths: type: array items: type: string title: conflict_paths title: PlanOntologyMergeResponse additionalProperties: false textql.rpc.public.patches.PreviewOntologyPullFolderRow: type: object properties: folderPath: type: string title: folder_path fileCount: type: integer title: file_count format: int32 title: PreviewOntologyPullFolderRow additionalProperties: false textql.rpc.public.patches.PreviewOntologyPullFromRemoteRequest: type: object title: PreviewOntologyPullFromRemoteRequest additionalProperties: false textql.rpc.public.patches.PreviewOntologyPullFromRemoteResponse: type: object properties: totalFiles: type: integer title: total_files format: int32 topLevelFolderCount: type: integer title: top_level_folder_count format: int32 folderRows: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.PreviewOntologyPullFolderRow' title: folder_rows unrelatedHistories: type: boolean title: unrelated_histories unrelatedHistoriesRemoteAdditions: type: array items: type: string title: unrelated_histories_remote_additions unrelatedHistoriesConflictPaths: type: array items: type: string title: unrelated_histories_conflict_paths title: PreviewOntologyPullFromRemoteResponse additionalProperties: false textql.rpc.public.patches.PullOntologyFromRemoteRequest: type: object properties: acknowledgeUnrelatedHistories: type: boolean title: acknowledge_unrelated_histories expectedLocalHeadHash: type: string title: expected_local_head_hash expectedRemoteHeadHash: type: string title: expected_remote_head_hash title: PullOntologyFromRemoteRequest additionalProperties: false textql.rpc.public.patches.PushOntologyToRemoteRequest: type: object title: PushOntologyToRemoteRequest additionalProperties: false textql.rpc.public.patches.RecoverOntologyLevel: type: string title: RecoverOntologyLevel enum: - RECOVER_ONTOLOGY_LEVEL_UNSPECIFIED - RECOVER_ONTOLOGY_LEVEL_DISCARD_LOCAL - RECOVER_ONTOLOGY_LEVEL_RESET_TO_REMOTE - RECOVER_ONTOLOGY_LEVEL_RECLONE textql.rpc.public.patches.RecoverOntologyRequest: type: object properties: level: title: level $ref: '#/components/schemas/textql.rpc.public.patches.RecoverOntologyLevel' title: RecoverOntologyRequest additionalProperties: false textql.rpc.public.patches.RemoveOntologyRemoteRequest: type: object title: RemoveOntologyRemoteRequest additionalProperties: false textql.rpc.public.patches.RemoveOntologySubmoduleRequest: type: object properties: path: type: string title: path title: RemoveOntologySubmoduleRequest additionalProperties: false textql.rpc.public.patches.RenameOntologyFileRequest: type: object properties: oldPath: type: string title: old_path newPath: type: string title: new_path commitMessage: type: string title: commit_message nullable: true title: RenameOntologyFileRequest additionalProperties: false textql.rpc.public.patches.RenameOntologyFileResponse: type: object properties: file: title: file $ref: '#/components/schemas/textql.rpc.public.patches.OntologyFile' title: RenameOntologyFileResponse additionalProperties: false textql.rpc.public.patches.RequestPatchReviewRequest: type: object properties: patchId: type: string title: patch_id reviewerMemberId: type: string title: reviewer_member_id title: RequestPatchReviewRequest additionalProperties: false textql.rpc.public.patches.RequestPatchReviewResponse: type: object properties: sent: type: boolean title: sent title: RequestPatchReviewResponse additionalProperties: false textql.rpc.public.patches.ResolveOntologySyncConflictRequest: type: object properties: conflictId: type: string title: conflict_id resolvedContent: type: string title: resolved_content title: ResolveOntologySyncConflictRequest additionalProperties: false textql.rpc.public.patches.RestorePatchRequest: type: object properties: patchId: type: string title: patch_id description: Code owners first, then admins, matching the sidebar's display order. expectedGitRef: type: string title: expected_git_ref title: RestorePatchRequest additionalProperties: false textql.rpc.public.patches.RevertPatchRequest: type: object properties: patchId: type: string title: patch_id title: RevertPatchRequest additionalProperties: false textql.rpc.public.patches.RevertPatchResponse: type: object properties: revertPatch: title: revert_patch $ref: '#/components/schemas/textql.rpc.public.patches.Patch' title: RevertPatchResponse additionalProperties: false textql.rpc.public.patches.SaveAllObjectsAsConfigRequest: type: object properties: objectType: type: string title: object_type title: SaveAllObjectsAsConfigRequest additionalProperties: false description: |- SaveObjectAsConfig renders an existing DB object (object_type keyed like config_source: "playbook", later "dashboard", ...) as a config file and authors it as a new OPEN patch under the type's default ontology folder. The file can be moved/edited like any patch file before merging; on merge, reconcile takes over the original object when content and permissions allow. textql.rpc.public.patches.SaveAllObjectsAsConfigResponse: type: object properties: patch: title: patch $ref: '#/components/schemas/textql.rpc.public.patches.Patch' filePaths: type: array items: type: string title: file_paths description: Ontology-relative path the config file was placed at. skipped: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.SkippedConfigExport' title: skipped alreadyManagedCount: type: integer title: already_managed_count format: int32 title: SaveAllObjectsAsConfigResponse additionalProperties: false textql.rpc.public.patches.SaveObjectAsConfigRequest: type: object properties: objectType: type: string title: object_type objectId: type: string title: object_id title: SaveObjectAsConfigRequest additionalProperties: false textql.rpc.public.patches.SaveObjectAsConfigResponse: type: object properties: patch: title: patch $ref: '#/components/schemas/textql.rpc.public.patches.Patch' filePath: type: string title: file_path title: SaveObjectAsConfigResponse additionalProperties: false textql.rpc.public.patches.SetOntologyFileGoldenRequest: type: object properties: path: type: string title: path golden: type: boolean title: golden title: SetOntologyFileGoldenRequest additionalProperties: false textql.rpc.public.patches.SetOntologyFileGoldenResponse: type: object properties: golden: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.GoldenEntry' title: golden title: SetOntologyFileGoldenResponse additionalProperties: false textql.rpc.public.patches.SetOntologyOwnersRequest: type: object properties: path: type: string title: path entries: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.OntologyOwnerEntry' title: entries commitMessage: type: string title: commit_message nullable: true title: SetOntologyOwnersRequest additionalProperties: false description: |- Returns the *effective* owners for a directory after walking ancestor OWNERS files: for every role in the org, the resolved permission the role would have on this directory (per `permissionForDirWithRoles`). Use this when you need to compare permissions across paths — the literal GetOntologyOwners only reflects the OWNERS file at the exact path, missing inheritance. textql.rpc.public.patches.SetOntologyOwnersResponse: type: object properties: owners: title: owners $ref: '#/components/schemas/textql.rpc.public.patches.OntologyOwners' title: SetOntologyOwnersResponse additionalProperties: false textql.rpc.public.patches.Skill: type: object properties: trigger: type: string title: trigger description: directory basename — the / a user types name: type: string title: name description: frontmatter display name (may be empty) description: type: string title: description description: frontmatter description (may be empty) path: type: string title: path description: ontology-relative path, e.g. "skills/forecast" unlisted: type: boolean title: unlisted description: 'frontmatter listed: false — invocable by trigger, hidden from the picker' title: Skill additionalProperties: false description: |- Skill is the display metadata for one ontology skill. Intentionally carries no instruction body: bodies are inlined server-side at chat time and never sent to the client. textql.rpc.public.patches.SkippedConfigExport: type: object properties: objectId: type: string title: object_id objectName: type: string title: object_name reason: type: string title: reason title: SkippedConfigExport additionalProperties: false description: |- SaveAllObjectsAsConfig is the bulk SaveObjectAsConfig: it renders every object of the type the caller can read (and that has no config history) into ONE open patch. Objects the config format cannot express are skipped with a per-object reason rather than failing the batch. textql.rpc.public.patches.TriggerConfigDriftReconcileRequest: type: object title: TriggerConfigDriftReconcileRequest additionalProperties: false textql.rpc.public.patches.TriggerConfigDriftReconcileResponse: type: object properties: drifted: type: boolean title: drifted title: TriggerConfigDriftReconcileResponse additionalProperties: false textql.rpc.public.patches.UpdateApprovalRuleRequest: type: object properties: id: type: string title: id rule: title: rule $ref: '#/components/schemas/textql.rpc.public.patches.ApprovalRuleInput' title: UpdateApprovalRuleRequest additionalProperties: false textql.rpc.public.patches.UpdateApprovalRuleResponse: type: object properties: rule: title: rule $ref: '#/components/schemas/textql.rpc.public.patches.ApprovalRule' title: UpdateApprovalRuleResponse additionalProperties: false textql.rpc.public.patches.UpdateContextPatchAutoApproveRuleRequest: type: object properties: id: type: string title: id rule: title: rule $ref: '#/components/schemas/textql.rpc.public.patches.ContextPatchAutoApproveRuleInput' title: UpdateContextPatchAutoApproveRuleRequest additionalProperties: false textql.rpc.public.patches.UpdateContextPatchAutoApproveRuleResponse: type: object properties: rule: title: rule $ref: '#/components/schemas/textql.rpc.public.patches.ContextPatchAutoApproveRule' title: UpdateContextPatchAutoApproveRuleResponse additionalProperties: false textql.rpc.public.patches.UpdateOntologySyncConfigRequest: type: object properties: syncEnabled: type: boolean title: sync_enabled syncIntervalMinutes: type: integer title: sync_interval_minutes format: int32 pushMode: type: string title: push_mode nullable: true title: UpdateOntologySyncConfigRequest additionalProperties: false textql.rpc.public.patches.UpdateOntologySyncConfigResponse: type: object properties: remote: title: remote $ref: '#/components/schemas/textql.rpc.public.patches.OntologyRemote' title: UpdateOntologySyncConfigResponse additionalProperties: false textql.rpc.public.patches.UpsertOntologyAnaConfigRequest: type: object properties: path: type: string title: path autoAttach: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.AutoAttachEntry' title: auto_attach commitMessage: type: string title: commit_message nullable: true codeowners: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.CodeownerEntry' title: codeowners title: UpsertOntologyAnaConfigRequest additionalProperties: false textql.rpc.public.patches.UpsertOntologyAnaConfigResponse: type: object properties: config: title: config $ref: '#/components/schemas/textql.rpc.public.patches.OntologyAnaConfig' title: UpsertOntologyAnaConfigResponse additionalProperties: false textql.rpc.public.patches.UpsertOntologyFileRequest: type: object properties: path: type: string title: path content: type: string title: content commitMessage: type: string title: commit_message nullable: true title: UpsertOntologyFileRequest additionalProperties: false textql.rpc.public.patches.UpsertOntologyFileResponse: type: object properties: file: title: file $ref: '#/components/schemas/textql.rpc.public.patches.OntologyFile' title: UpsertOntologyFileResponse additionalProperties: false textql.rpc.public.patches.UsageOrderBy: type: string title: UsageOrderBy enum: - ORDER_BY_UNKNOWN - ORDER_BY_MOST_RECENTLY_USED - ORDER_BY_LEAST_RECENTLY_USED - ORDER_BY_MOST_FREQUENTLY_USED - ORDER_BY_LEAST_FREQUENTLY_USED textql.rpc.public.patches.ValidateConfigRequest: type: object properties: patchId: type: string title: patch_id title: ValidateConfigRequest additionalProperties: false textql.rpc.public.patches.ValidateConfigResponse: type: object properties: ok: type: boolean title: ok diagnostics: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.ConfigDiagnostic' title: diagnostics title: ValidateConfigResponse additionalProperties: false description: |- ValidateConfigRequest validates a filed patch's ref. The proposed sandbox working-tree source is served by the Ana chat-cell tool, not this RPC. textql.rpc.public.playbook.CancelTemplateExecutionRequest: type: object properties: templateHeaderId: type: string title: template_header_id playbookId: type: string title: playbook_id title: CancelTemplateExecutionRequest additionalProperties: false description: Request to cancel template execution textql.rpc.public.playbook.CancelTemplateExecutionResponse: type: object properties: success: type: boolean title: success cancelledCount: type: integer title: cancelled_count format: int32 description: Number of template executions that were cancelled title: CancelTemplateExecutionResponse additionalProperties: false description: Response from canceling template execution textql.rpc.public.playbook.ChatAccessMode: type: string title: ChatAccessMode enum: - CHAT_ACCESS_MODE_INHERIT - CHAT_ACCESS_MODE_CUSTOM textql.rpc.public.playbook.ChatAccessOverride: type: object properties: memberId: type: string title: member_id nullable: true roleId: type: string title: role_id nullable: true accessType: type: string title: access_type description: '"owner", "editor", "viewer"' title: ChatAccessOverride additionalProperties: false textql.rpc.public.playbook.ChatAccessOverrideList: type: object properties: items: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.ChatAccessOverride' title: items title: ChatAccessOverrideList additionalProperties: false textql.rpc.public.playbook.ChatReportSummary: type: object properties: id: type: string title: id chatId: type: string title: chat_id subject: type: string title: subject summary: type: string title: summary createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' heroImageUrl: type: string title: hero_image_url description: First hero block image if present nullable: true title: ChatReportSummary additionalProperties: false description: Lightweight report summary for chat drawer - excludes full blocks textql.rpc.public.playbook.CreatePlaybookRequest: type: object title: CreatePlaybookRequest additionalProperties: false textql.rpc.public.playbook.CreatePlaybookResponse: type: object properties: playbook: title: playbook $ref: '#/components/schemas/textql.rpc.public.playbook.Playbook' title: CreatePlaybookResponse additionalProperties: false textql.rpc.public.playbook.DeactivatePlaybookRequest: type: object properties: playbookId: type: string title: playbook_id title: DeactivatePlaybookRequest additionalProperties: false textql.rpc.public.playbook.DeletePlaybookRequest: type: object properties: playbookId: type: string title: playbook_id title: DeletePlaybookRequest additionalProperties: false textql.rpc.public.playbook.DeletePlaybookResponse: type: object properties: playbookId: type: string title: playbook_id deletedAt: title: deleted_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: DeletePlaybookResponse additionalProperties: false textql.rpc.public.playbook.DemoPlaybookRequest: type: object properties: chatId: type: string title: chat_id personName: type: string title: person_name jobTitle: type: string title: job_title targetEmail: type: string title: target_email title: DemoPlaybookRequest additionalProperties: false textql.rpc.public.playbook.DemoPlaybookResponse: type: object title: DemoPlaybookResponse additionalProperties: false textql.rpc.public.playbook.DeployPlaybookRequest: type: object properties: playbookId: type: string title: playbook_id title: DeployPlaybookRequest additionalProperties: false textql.rpc.public.playbook.DeployPlaybookResponse: type: object properties: playbookId: type: string title: playbook_id deployedAt: title: deployed_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: DeployPlaybookResponse additionalProperties: false textql.rpc.public.playbook.DuplicatePlaybookRequest: type: object properties: playbookId: type: string title: playbook_id title: DuplicatePlaybookRequest additionalProperties: false textql.rpc.public.playbook.DuplicatePlaybookResponse: type: object properties: playbook: title: playbook $ref: '#/components/schemas/textql.rpc.public.playbook.Playbook' title: DuplicatePlaybookResponse additionalProperties: false textql.rpc.public.playbook.FavoriteReportRequest: type: object properties: playbookId: type: string title: playbook_id description: UUID reportId: type: string title: report_id description: UUID title: FavoriteReportRequest additionalProperties: false description: Favorite report messages textql.rpc.public.playbook.FavoriteReportResponse: type: object properties: success: type: boolean title: success title: FavoriteReportResponse additionalProperties: false textql.rpc.public.playbook.FilterCondition: type: object properties: field: type: string title: field description: JSON field name operator: type: string title: operator description: '"equals", "contains", "starts_with", "ends_with", "gt", "gte", "lt", "lte"' value: type: string title: value description: Value to filter by title: FilterCondition additionalProperties: false description: Filter condition for template data searches textql.rpc.public.playbook.FilterConditionList: type: object properties: items: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.FilterCondition' title: items title: FilterConditionList additionalProperties: false textql.rpc.public.playbook.GetActiveSubscribedPlaybooksCountRequest: type: object title: GetActiveSubscribedPlaybooksCountRequest additionalProperties: false textql.rpc.public.playbook.GetActiveSubscribedPlaybooksCountResponse: type: object properties: count: type: integer title: count format: int32 title: GetActiveSubscribedPlaybooksCountResponse additionalProperties: false textql.rpc.public.playbook.GetChatReportsSummaryRequest: type: object properties: chatId: type: string title: chat_id title: GetChatReportsSummaryRequest additionalProperties: false textql.rpc.public.playbook.GetChatReportsSummaryResponse: type: object properties: reports: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.ChatReportSummary' title: reports title: GetChatReportsSummaryResponse additionalProperties: false textql.rpc.public.playbook.GetMembersWithPlaybooksRequest: type: object title: GetMembersWithPlaybooksRequest additionalProperties: false textql.rpc.public.playbook.GetMembersWithPlaybooksResponse: type: object properties: members: type: array items: $ref: '#/components/schemas/textql.rpc.identity.MemberPreview' title: members title: GetMembersWithPlaybooksResponse additionalProperties: false textql.rpc.public.playbook.GetPlaybookBatchRunRequest: type: object properties: batchRunId: type: string title: batch_run_id description: UUID title: GetPlaybookBatchRunRequest additionalProperties: false description: Request to get a specific batch run textql.rpc.public.playbook.GetPlaybookBatchRunResponse: type: object properties: batchRun: title: batch_run $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookBatchRun' title: GetPlaybookBatchRunResponse additionalProperties: false description: Response containing batch run details textql.rpc.public.playbook.GetPlaybookLineageRequest: type: object properties: playbookId: type: string title: playbook_id title: GetPlaybookLineageRequest additionalProperties: false textql.rpc.public.playbook.GetPlaybookLineageResponse: type: object properties: parent: title: parent nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookLineageNode' duplicates: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookLineageNode' title: duplicates originPlaybookId: type: string title: origin_playbook_id nullable: true title: GetPlaybookLineageResponse additionalProperties: false textql.rpc.public.playbook.GetPlaybookReportsBatchRequest: type: object properties: playbookId: type: string title: playbook_id description: UUID templateDataIds: type: array items: type: string title: template_data_ids description: List of template data UUIDs to fetch reports for limitPerTemplate: type: integer title: limit_per_template format: int32 description: 'Max reports to return per template_data_id (default: 100)' batchRunId: type: string title: batch_run_id description: UUID - filter reports and artifacts by batch run nullable: true title: GetPlaybookReportsBatchRequest additionalProperties: false description: Batch request to get reports for multiple template data IDs efficiently textql.rpc.public.playbook.GetPlaybookReportsBatchResponse: type: object properties: templateDataReports: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.TemplateDataReports' title: template_data_reports title: GetPlaybookReportsBatchResponse additionalProperties: false description: Batch response with reports grouped by template_data_id textql.rpc.public.playbook.GetPlaybookReportsRequest: type: object properties: playbookId: type: string title: playbook_id description: UUID limit: type: integer title: limit format: int32 offset: type: integer title: offset format: int32 chatId: type: string title: chat_id description: UUID nullable: true templateDataId: type: string title: template_data_id description: UUID nullable: true batchRunId: type: string title: batch_run_id description: UUID - filter reports by batch run nullable: true title: GetPlaybookReportsRequest additionalProperties: false textql.rpc.public.playbook.GetPlaybookReportsResponse: type: object properties: reports: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookReport' title: reports totalCount: type: integer title: total_count format: int32 title: GetPlaybookReportsResponse additionalProperties: false textql.rpc.public.playbook.GetPlaybookRequest: type: object properties: playbookId: type: string title: playbook_id limit: type: integer title: limit format: int32 offset: type: integer title: offset format: int32 title: GetPlaybookRequest additionalProperties: false textql.rpc.public.playbook.GetPlaybookResponse: type: object properties: playbook: title: playbook $ref: '#/components/schemas/textql.rpc.public.playbook.Playbook' reports: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookReport' title: reports totalReportsCount: type: integer title: total_reports_count format: int32 title: GetPlaybookResponse additionalProperties: false textql.rpc.public.playbook.GetPlaybooksPreviewsRequest: type: object properties: onlySubscribed: type: boolean title: only_subscribed statusFilter: title: status_filter nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookStatus' title: GetPlaybooksPreviewsRequest additionalProperties: false textql.rpc.public.playbook.GetPlaybooksPreviewsResponse: type: object properties: playbooks: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookPreview' title: playbooks title: GetPlaybooksPreviewsResponse additionalProperties: false textql.rpc.public.playbook.GetPlaybooksRequest: type: object properties: memberOnly: type: boolean title: member_only limit: type: integer title: limit format: int32 offset: type: integer title: offset format: int32 searchTerm: type: string title: search_term nullable: true statusFilter: title: status_filter description: single-select; superseded by `statuses` when that is non-empty nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookStatus' creatorMemberId: type: string title: creator_member_id description: single-select; superseded by `creator_member_ids` when that is non-empty nullable: true sortBy: title: sort_by $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookSortField' sortDirection: title: sort_direction $ref: '#/components/schemas/textql.rpc.public.common.SortDirection' subscribedFirst: type: boolean title: subscribed_first nullable: true onlySubscribed: type: boolean title: only_subscribed nullable: true sharedWithMe: type: boolean title: shared_with_me nullable: true includeSharedDrafts: type: boolean title: include_shared_drafts nullable: true statuses: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookStatus' title: statuses description: Multi-select filters (union). Each supersedes its single-value counterpart when non-empty. creatorMemberIds: type: array items: type: string title: creator_member_ids title: GetPlaybooksRequest additionalProperties: false textql.rpc.public.playbook.GetPlaybooksResponse: type: object properties: playbooks: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.Playbook' title: playbooks totalCount: type: integer title: total_count format: int32 title: GetPlaybooksResponse additionalProperties: false textql.rpc.public.playbook.GetReportByIdRequest: type: object properties: reportId: type: string title: report_id title: GetReportByIdRequest additionalProperties: false textql.rpc.public.playbook.GetReportByIdResponse: type: object properties: report: title: report $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookReport' title: GetReportByIdResponse additionalProperties: false textql.rpc.public.playbook.GetReportsWithFiltersRequest: type: object properties: filters: title: filters $ref: '#/components/schemas/textql.rpc.public.playbook.ReportFilters' title: GetReportsWithFiltersRequest additionalProperties: false textql.rpc.public.playbook.GetReportsWithFiltersResponse: type: object properties: reports: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookReport' title: reports reportsWithHeader: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookReport' title: reports_with_header totalCount: type: integer title: total_count format: int32 unreadCount: type: integer title: unread_count format: int32 title: GetReportsWithFiltersResponse additionalProperties: false textql.rpc.public.playbook.Int32List: type: object properties: items: type: array items: type: integer format: int32 title: items title: Int32List additionalProperties: false textql.rpc.public.playbook.ListAllSlackChannelContextPlaybooksRequest: type: object title: ListAllSlackChannelContextPlaybooksRequest additionalProperties: false description: List all Slack channel context playbook mappings for organization textql.rpc.public.playbook.ListAllSlackChannelContextPlaybooksResponse: type: object properties: mappings: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.SlackChannelPlaybookMapping' title: mappings title: ListAllSlackChannelContextPlaybooksResponse additionalProperties: false textql.rpc.public.playbook.ListAllTeamsChannelContextPlaybooksRequest: type: object title: ListAllTeamsChannelContextPlaybooksRequest additionalProperties: false textql.rpc.public.playbook.ListAllTeamsChannelContextPlaybooksResponse: type: object properties: mappings: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.TeamsChannelPlaybookMapping' title: mappings title: ListAllTeamsChannelContextPlaybooksResponse additionalProperties: false textql.rpc.public.playbook.ListPlaybookBatchRunsRequest: type: object properties: playbookId: type: string title: playbook_id description: UUID limit: type: integer title: limit format: int32 description: 'Max number of results (default: 50)' nullable: true offset: type: integer title: offset format: int32 description: 'Offset for pagination (default: 0)' nullable: true title: ListPlaybookBatchRunsRequest additionalProperties: false description: Request to list batch runs for a playbook textql.rpc.public.playbook.ListPlaybookBatchRunsResponse: type: object properties: batchRuns: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookBatchRun' title: batch_runs totalCount: type: integer title: total_count format: int32 description: Total number of batch runs for this playbook title: ListPlaybookBatchRunsResponse additionalProperties: false description: Response containing list of batch runs textql.rpc.public.playbook.ListSlackChannelsForContextPlaybookRequest: type: object properties: playbookId: type: string title: playbook_id description: UUID title: ListSlackChannelsForContextPlaybookRequest additionalProperties: false description: Lists Slack channel IDs that have this playbook set as the context playbook. textql.rpc.public.playbook.ListSlackChannelsForContextPlaybookResponse: type: object properties: slackChannelIds: type: array items: type: string title: slack_channel_ids description: e.g., ["C123", "C456"] title: ListSlackChannelsForContextPlaybookResponse additionalProperties: false textql.rpc.public.playbook.ListTeamsChannelsForContextPlaybookRequest: type: object properties: playbookId: type: string title: playbook_id title: ListTeamsChannelsForContextPlaybookRequest additionalProperties: false textql.rpc.public.playbook.ListTeamsChannelsForContextPlaybookResponse: type: object properties: teamsChannelIds: type: array items: type: string title: teams_channel_ids title: ListTeamsChannelsForContextPlaybookResponse additionalProperties: false textql.rpc.public.playbook.MarkReportAsReadRequest: type: object properties: reportId: type: string title: report_id description: UUID title: MarkReportAsReadRequest additionalProperties: false description: Report read tracking messages textql.rpc.public.playbook.MarkReportAsReadResponse: type: object properties: success: type: boolean title: success readAt: title: read_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: MarkReportAsReadResponse additionalProperties: false textql.rpc.public.playbook.Playbook: type: object properties: id: type: string title: id description: UUID orgId: type: string title: org_id memberId: type: string title: member_id nullable: true connectorId: type: integer title: connector_id format: int32 description: 'Deprecated: use connector_ids instead' nullable: true deprecated: true name: type: string title: name prompt: type: string title: prompt createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' status: title: status $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookStatus' triggerType: title: trigger_type $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookTriggerType' cronString: type: string title: cron_string nullable: true datasetIds: type: array items: type: string title: dataset_ids description: List of UUIDs referenceReportId: type: string title: reference_report_id nullable: true latestChatId: type: string title: latest_chat_id nullable: true emailAddresses: type: array items: type: string title: email_addresses slackChannelId: type: string title: slack_channel_id nullable: true taggedSlackUserIds: type: array items: type: string title: tagged_slack_user_ids llmModel: title: llm_model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' paradigmOptions: title: paradigm_options $ref: '#/components/schemas/textql.rpc.public.paradigm.ParadigmOptions' paradigmType: title: paradigm_type $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmType' isRunning: type: boolean title: is_running nullable: true owner: title: owner nullable: true $ref: '#/components/schemas/textql.rpc.identity.MemberPreview' hasWritePermission: type: boolean title: has_write_permission nullable: true isSubscribed: type: boolean title: is_subscribed nullable: true reportOutputStyle: title: report_output_style description: Report output length $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookReportStyle' templateHeaderId: type: string title: template_header_id description: UUID reference to PlaybookTemplateHeader nullable: true selectedTemplateDataIds: type: array items: type: string title: selected_template_data_ids description: List of UUIDs for selected template data rows maxConcurrentTemplates: type: integer title: max_concurrent_templates format: int32 description: Maximum number of templates to run concurrently nullable: true autoOptimizeConcurrency: type: boolean title: auto_optimize_concurrency description: Auto-optimize concurrency based on runtime nullable: true connectorIds: type: array items: type: integer format: int32 title: connector_ids templateDataFilters: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.FilterCondition' title: template_data_filters description: Filter conditions for template data parentPlaybookId: type: string title: parent_playbook_id nullable: true originPlaybookId: type: string title: origin_playbook_id nullable: true duplicatedByMemberId: type: string title: duplicated_by_member_id nullable: true duplicatedAt: title: duplicated_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' chatAccessMode: title: chat_access_mode $ref: '#/components/schemas/textql.rpc.public.playbook.ChatAccessMode' chatAccessOverrides: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.ChatAccessOverride' title: chat_access_overrides chatIsPublic: type: boolean title: chat_is_public dashboardIds: type: array items: type: string title: dashboard_ids description: List of dashboard UUIDs attached to this playbook recipientEmailColumn: type: string title: recipient_email_column description: Column name in template data to use as recipient email override nullable: true teamsChannelId: type: string title: teams_channel_id nullable: true taggedTeamsUserAadIds: type: array items: type: string title: tagged_teams_user_aad_ids configSource: title: config_source description: present ⇒ config-managed (defined by a Library file; config-owned fields read-only in UI) nullable: true $ref: '#/components/schemas/textql.rpc.public.config_source.ConfigSource' apiAccessKeyIds: type: array items: type: string title: api_access_key_ids title: Playbook additionalProperties: false textql.rpc.public.playbook.PlaybookAttachDashboardRequest: type: object properties: playbookId: type: string title: playbook_id dashboardId: type: string title: dashboard_id title: PlaybookAttachDashboardRequest additionalProperties: false textql.rpc.public.playbook.PlaybookAttachDashboardResponse: type: object properties: dashboard: title: dashboard $ref: '#/components/schemas/textql.rpc.public.dashboard.Dashboard' title: PlaybookAttachDashboardResponse additionalProperties: false textql.rpc.public.playbook.PlaybookAttachDatasetRequest: type: object properties: playbookId: type: string title: playbook_id datasetId: type: string title: dataset_id title: PlaybookAttachDatasetRequest additionalProperties: false textql.rpc.public.playbook.PlaybookAttachDatasetResponse: type: object properties: dataset: title: dataset $ref: '#/components/schemas/textql.rpc.public.dataset.Dataset' title: PlaybookAttachDatasetResponse additionalProperties: false textql.rpc.public.playbook.PlaybookBatchRun: type: object properties: id: type: string title: id description: UUID playbookId: type: string title: playbook_id description: UUID templateHeaderId: type: string title: template_header_id description: UUID templateDataIds: type: array items: type: string title: template_data_ids description: List of UUID references createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: PlaybookBatchRun additionalProperties: false description: Batch run record textql.rpc.public.playbook.PlaybookLineageNode: type: object properties: playbookId: type: string title: playbook_id name: type: string title: name status: title: status $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookStatus' duplicatedAt: title: duplicated_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' duplicatedBy: title: duplicated_by nullable: true $ref: '#/components/schemas/textql.rpc.identity.MemberPreview' title: PlaybookLineageNode additionalProperties: false textql.rpc.public.playbook.PlaybookPreview: type: object properties: id: type: string title: id name: type: string title: name status: title: status $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookStatus' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: PlaybookPreview additionalProperties: false textql.rpc.public.playbook.PlaybookRemoveDashboardRequest: type: object properties: playbookId: type: string title: playbook_id dashboardId: type: string title: dashboard_id title: PlaybookRemoveDashboardRequest additionalProperties: false textql.rpc.public.playbook.PlaybookRemoveDashboardResponse: type: object properties: success: type: boolean title: success title: PlaybookRemoveDashboardResponse additionalProperties: false textql.rpc.public.playbook.PlaybookRemoveDatasetRequest: type: object properties: playbookId: type: string title: playbook_id datasetId: type: string title: dataset_id title: PlaybookRemoveDatasetRequest additionalProperties: false textql.rpc.public.playbook.PlaybookRemoveDatasetResponse: type: object properties: success: type: boolean title: success title: PlaybookRemoveDatasetResponse additionalProperties: false textql.rpc.public.playbook.PlaybookReport: type: object properties: id: type: string title: id description: UUID chatId: type: string title: chat_id description: UUID cellId: type: string title: cell_id description: UUID createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' subject: type: string title: subject summary: type: string title: summary blocks: type: array items: $ref: '#/components/schemas/textql.rpc.public.reports.ReportBlock' title: blocks htmlPreview: type: string title: html_preview playbookId: type: string title: playbook_id description: UUID readAt: title: read_at description: When the current member read this report, not present if the current member hasn't read it nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' playbookTemplateDataId: type: string title: playbook_template_data_id description: References UUID nullable: true title: PlaybookReport additionalProperties: false textql.rpc.public.playbook.PlaybookReportStyle: type: string title: PlaybookReportStyle enum: - REPORT_STYLE_UNKNOWN - EXECUTIVE_REPORT - VERBOSE - CONCISE textql.rpc.public.playbook.PlaybookSortField: type: string title: PlaybookSortField enum: - SORT_FIELD_UNKNOWN - SORT_FIELD_NAME - SORT_FIELD_CREATED_AT - SORT_FIELD_UPDATED_AT - SORT_FIELD_SCHEDULE textql.rpc.public.playbook.PlaybookStatus: type: string title: PlaybookStatus enum: - STATUS_UNKNOWN - STATUS_ACTIVE - STATUS_INACTIVE - STATUS_EMPTY - ALL_PLAYBOOKS textql.rpc.public.playbook.PlaybookTriggerType: type: string title: PlaybookTriggerType enum: - TRIGGER_TYPE_UNKNOWN - TRIGGER_TYPE_CRON - TRIGGER_TYPE_WEBHOOK textql.rpc.public.playbook.PreviewSlackReportRequest: type: object properties: playbookId: type: string title: playbook_id cell: title: cell $ref: '#/components/schemas/textql.rpc.public.cells.ReportCell' chatId: type: string title: chat_id slackChannelId: type: string title: slack_channel_id title: PreviewSlackReportRequest additionalProperties: false textql.rpc.public.playbook.PreviewSlackReportResponse: type: object title: PreviewSlackReportResponse additionalProperties: false textql.rpc.public.playbook.ReportFilters: type: object properties: playbookIds: type: array items: type: string title: playbook_ids searchTerm: type: string title: search_term nullable: true startTime: title: start_time nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' endTime: title: end_time nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' sortBy: type: string title: sort_by sortDirection: title: sort_direction $ref: '#/components/schemas/textql.rpc.public.common.SortDirection' limit: type: integer title: limit format: int32 nullable: true offset: type: integer title: offset format: int32 nullable: true onlySubscribed: type: boolean title: only_subscribed nullable: true includeHeader: type: boolean title: include_header nullable: true includeWithHeader: type: boolean title: include_with_header nullable: true chatId: type: string title: chat_id nullable: true title: ReportFilters additionalProperties: false textql.rpc.public.playbook.RunPlaybookRequest: type: object properties: playbookId: type: string title: playbook_id dryRun: type: boolean title: dry_run description: If true, runs without sending notifications templateId: type: string title: template_id nullable: true title: RunPlaybookRequest additionalProperties: false textql.rpc.public.playbook.RunPlaybookResponse: type: object properties: chatId: type: string title: chat_id title: RunPlaybookResponse additionalProperties: false textql.rpc.public.playbook.SetSlackChannelContextPlaybookRequest: type: object properties: playbookId: type: string title: playbook_id description: The playbook to associate slackChannelId: type: string title: slack_channel_id description: Slack channel ID (e.g., C123...) title: SetSlackChannelContextPlaybookRequest additionalProperties: false description: Associates a playbook to a Slack channel as its context playbook. textql.rpc.public.playbook.SetSlackChannelContextPlaybookResponse: type: object properties: success: type: boolean title: success title: SetSlackChannelContextPlaybookResponse additionalProperties: false textql.rpc.public.playbook.SetTeamsChannelContextPlaybookRequest: type: object properties: playbookId: type: string title: playbook_id teamsChannelId: type: string title: teams_channel_id title: SetTeamsChannelContextPlaybookRequest additionalProperties: false textql.rpc.public.playbook.SetTeamsChannelContextPlaybookResponse: type: object properties: success: type: boolean title: success title: SetTeamsChannelContextPlaybookResponse additionalProperties: false textql.rpc.public.playbook.SlackChannelPlaybookMapping: type: object properties: playbookId: type: string title: playbook_id slackChannelId: type: string title: slack_channel_id title: SlackChannelPlaybookMapping additionalProperties: false description: Maps playbook to its associated Slack channel textql.rpc.public.playbook.StreamTemplateDataStatusRequest: type: object properties: templateHeaderId: type: string title: template_header_id description: UUID of the template header to watch playbookId: type: string title: playbook_id title: StreamTemplateDataStatusRequest additionalProperties: false description: Request to stream template data execution status updates textql.rpc.public.playbook.StringList: type: object properties: items: type: array items: type: string title: items title: StringList additionalProperties: false textql.rpc.public.playbook.SubscribeToPlaybookRequest: type: object properties: playbookId: type: string title: playbook_id title: SubscribeToPlaybookRequest additionalProperties: false textql.rpc.public.playbook.SubscribeToPlaybookResponse: type: object properties: success: type: boolean title: success title: SubscribeToPlaybookResponse additionalProperties: false textql.rpc.public.playbook.TeamsChannelPlaybookMapping: type: object properties: playbookId: type: string title: playbook_id teamsChannelId: type: string title: teams_channel_id title: TeamsChannelPlaybookMapping additionalProperties: false textql.rpc.public.playbook.TemplateDataExecutionStatus: type: string title: TemplateDataExecutionStatus enum: - EXECUTION_STATUS_UNKNOWN - EXECUTION_STATUS_IDLE - EXECUTION_STATUS_QUEUED - EXECUTION_STATUS_RUNNING - EXECUTION_STATUS_COMPLETED - EXECUTION_STATUS_FAILED - EXECUTION_STATUS_CANCELLED textql.rpc.public.playbook.TemplateDataReports: type: object properties: templateDataId: type: string title: template_data_id description: UUID reports: type: array items: $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookReport' title: reports totalCount: type: integer title: total_count format: int32 description: Total number of reports for this template_data_id previewCells: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.PreviewCellRef' title: preview_cells description: Execution artifacts (charts, CSVs, etc.) from latest execution title: TemplateDataReports additionalProperties: false description: Grouped reports by template_data_id textql.rpc.public.playbook.TemplateDataStatusUpdate: type: object properties: templateDataId: type: string title: template_data_id description: UUID executionStatus: title: execution_status $ref: '#/components/schemas/textql.rpc.public.playbook.TemplateDataExecutionStatus' lastExecutionStartedAt: title: last_execution_started_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' lastExecutionCompletedAt: title: last_execution_completed_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' lastExecutionError: type: string title: last_execution_error nullable: true chatId: type: string title: chat_id nullable: true title: TemplateDataStatusUpdate additionalProperties: false description: Status update for a template data row textql.rpc.public.playbook.UnsetSlackChannelContextPlaybookRequest: type: object properties: slackChannelId: type: string title: slack_channel_id title: UnsetSlackChannelContextPlaybookRequest additionalProperties: false description: Unsets the context playbook for a Slack channel by channel ID only. textql.rpc.public.playbook.UnsetSlackChannelContextPlaybookResponse: type: object properties: success: type: boolean title: success title: UnsetSlackChannelContextPlaybookResponse additionalProperties: false textql.rpc.public.playbook.UnsetTeamsChannelContextPlaybookRequest: type: object properties: teamsChannelId: type: string title: teams_channel_id title: UnsetTeamsChannelContextPlaybookRequest additionalProperties: false textql.rpc.public.playbook.UnsetTeamsChannelContextPlaybookResponse: type: object properties: success: type: boolean title: success title: UnsetTeamsChannelContextPlaybookResponse additionalProperties: false textql.rpc.public.playbook.UnsubscribeFromPlaybookRequest: type: object properties: playbookId: type: string title: playbook_id title: UnsubscribeFromPlaybookRequest additionalProperties: false textql.rpc.public.playbook.UnsubscribeFromPlaybookResponse: type: object properties: success: type: boolean title: success title: UnsubscribeFromPlaybookResponse additionalProperties: false textql.rpc.public.playbook.UpdatePlaybookRequest: type: object properties: playbookId: type: string title: playbook_id name: type: string title: name nullable: true prompt: type: string title: prompt nullable: true status: title: status nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookStatus' triggerType: title: trigger_type nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookTriggerType' cronString: type: string title: cron_string nullable: true datasetIds: title: dataset_ids nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.StringList' connectorId: type: integer title: connector_id format: int32 description: 'Deprecated: use connector_ids instead' nullable: true deprecated: true referenceReportId: type: string title: reference_report_id nullable: true paradigmOptions: title: paradigm_options nullable: true $ref: '#/components/schemas/textql.rpc.public.paradigm.ParadigmOptions' paradigmType: title: paradigm_type nullable: true $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmType' emailAddresses: title: email_addresses nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.StringList' slackChannelId: type: string title: slack_channel_id nullable: true taggedSlackUserIds: title: tagged_slack_user_ids nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.StringList' reportOutputStyle: title: report_output_style nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.PlaybookReportStyle' templateHeaderId: type: string title: template_header_id nullable: true selectedTemplateDataIds: title: selected_template_data_ids nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.StringList' maxConcurrentTemplates: type: integer title: max_concurrent_templates format: int32 nullable: true autoOptimizeConcurrency: type: boolean title: auto_optimize_concurrency nullable: true connectorIds: title: connector_ids nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.Int32List' templateDataFilters: title: template_data_filters nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.FilterConditionList' llmModel: title: llm_model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' chatAccessMode: title: chat_access_mode nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.ChatAccessMode' chatAccessOverrides: title: chat_access_overrides nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.ChatAccessOverrideList' chatIsPublic: type: boolean title: chat_is_public nullable: true dashboardIds: title: dashboard_ids nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.StringList' recipientEmailColumn: type: string title: recipient_email_column nullable: true teamsChannelId: type: string title: teams_channel_id nullable: true taggedTeamsUserAadIds: title: tagged_teams_user_aad_ids nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.StringList' apiAccessKeyIds: title: api_access_key_ids nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.StringList' title: UpdatePlaybookRequest additionalProperties: false textql.rpc.public.playbook.UpdatePlaybookResponse: type: object properties: playbook: title: playbook $ref: '#/components/schemas/textql.rpc.public.playbook.Playbook' title: UpdatePlaybookResponse additionalProperties: false textql.rpc.public.powerbi.ExportPowerBIReportImageRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 workspaceId: type: string title: workspace_id reportId: type: string title: report_id title: ExportPowerBIReportImageRequest additionalProperties: false textql.rpc.public.powerbi.ExportPowerBIReportImageResponse: type: object properties: imageData: type: string title: image_data format: byte imageUrl: type: string title: image_url error: type: string title: error nullable: true title: ExportPowerBIReportImageResponse additionalProperties: false textql.rpc.public.powerbi.GeneratePowerBIEmbedTokenRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 workspaceId: type: string title: workspace_id reportId: type: string title: report_id datasetId: type: string title: dataset_id title: GeneratePowerBIEmbedTokenRequest additionalProperties: false textql.rpc.public.powerbi.GeneratePowerBIEmbedTokenResponse: type: object properties: token: type: string title: token tokenId: type: string title: token_id expiration: title: expiration $ref: '#/components/schemas/google.protobuf.Timestamp' title: GeneratePowerBIEmbedTokenResponse additionalProperties: false textql.rpc.public.powerbi.GetPowerBIDatasetPreviewRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 workspaceId: type: string title: workspace_id datasetId: type: string title: dataset_id datasetName: type: string title: dataset_name limit: type: integer title: limit format: int32 title: GetPowerBIDatasetPreviewRequest additionalProperties: false textql.rpc.public.powerbi.GetPowerBIDatasetPreviewResponse: type: object properties: tablePreviews: type: array items: $ref: '#/components/schemas/textql.rpc.public.powerbi.PowerBITablePreview' title: table_previews success: type: boolean title: success error: type: string title: error nullable: true title: GetPowerBIDatasetPreviewResponse additionalProperties: false textql.rpc.public.powerbi.GetSyncedPowerBIItemsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: GetSyncedPowerBIItemsRequest additionalProperties: false textql.rpc.public.powerbi.GetSyncedPowerBIItemsResponse: type: object properties: reports: type: array items: $ref: '#/components/schemas/textql.rpc.public.powerbi.SyncedPowerBIReport' title: reports datasets: type: array items: $ref: '#/components/schemas/textql.rpc.public.powerbi.SyncedPowerBIDataset' title: datasets title: GetSyncedPowerBIItemsResponse additionalProperties: false textql.rpc.public.powerbi.ListPowerBIDatasetsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 workspaceId: type: string title: workspace_id title: ListPowerBIDatasetsRequest additionalProperties: false textql.rpc.public.powerbi.ListPowerBIDatasetsResponse: type: object properties: datasets: type: array items: $ref: '#/components/schemas/textql.rpc.public.powerbi.PowerBIDataset' title: datasets error: type: string title: error nullable: true title: ListPowerBIDatasetsResponse additionalProperties: false textql.rpc.public.powerbi.ListPowerBIReportsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 workspaceId: type: string title: workspace_id title: ListPowerBIReportsRequest additionalProperties: false textql.rpc.public.powerbi.ListPowerBIReportsResponse: type: object properties: reports: type: array items: $ref: '#/components/schemas/textql.rpc.public.powerbi.PowerBIReport' title: reports error: type: string title: error nullable: true title: ListPowerBIReportsResponse additionalProperties: false textql.rpc.public.powerbi.ListPowerBIWorkspacesRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: ListPowerBIWorkspacesRequest additionalProperties: false textql.rpc.public.powerbi.ListPowerBIWorkspacesResponse: type: object properties: workspaces: type: array items: $ref: '#/components/schemas/textql.rpc.public.powerbi.PowerBIWorkspace' title: workspaces error: type: string title: error nullable: true title: ListPowerBIWorkspacesResponse additionalProperties: false textql.rpc.public.powerbi.PowerBIDataset: type: object properties: id: type: string title: id name: type: string title: name addRowsApiEnabled: type: boolean title: add_rows_api_enabled configuredBy: type: string title: configured_by isRefreshable: type: boolean title: is_refreshable isEffectiveIdentityRequired: type: boolean title: is_effective_identity_required isEffectiveIdentityRolesRequired: type: boolean title: is_effective_identity_roles_required isOnPremGatewayRequired: type: boolean title: is_on_prem_gateway_required createdDate: title: created_date $ref: '#/components/schemas/google.protobuf.Timestamp' tableNames: type: array items: type: string title: table_names title: PowerBIDataset additionalProperties: false textql.rpc.public.powerbi.PowerBIReport: type: object properties: id: type: string title: id name: type: string title: name webUrl: type: string title: web_url embedUrl: type: string title: embed_url datasetId: type: string title: dataset_id createdBy: type: string title: created_by createdDate: title: created_date $ref: '#/components/schemas/google.protobuf.Timestamp' title: PowerBIReport additionalProperties: false textql.rpc.public.powerbi.PowerBITablePreview: type: object properties: tableName: type: string title: table_name arrowData: type: string title: arrow_data format: byte totalRows: type: - integer - string title: total_rows format: int64 error: type: string title: error nullable: true title: PowerBITablePreview additionalProperties: false textql.rpc.public.powerbi.PowerBIWorkspace: type: object properties: id: type: string title: id name: type: string title: name isReadOnly: type: boolean title: is_read_only isOnPremium: type: boolean title: is_on_premium title: PowerBIWorkspace additionalProperties: false textql.rpc.public.powerbi.SyncPowerBIItemsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 workspaceId: type: string title: workspace_id workspaceName: type: string title: workspace_name reports: type: array items: $ref: '#/components/schemas/textql.rpc.public.powerbi.PowerBIReport' title: reports datasets: type: array items: $ref: '#/components/schemas/textql.rpc.public.powerbi.PowerBIDataset' title: datasets title: SyncPowerBIItemsRequest additionalProperties: false textql.rpc.public.powerbi.SyncPowerBIItemsResponse: type: object properties: success: type: boolean title: success error: type: string title: error nullable: true syncedReportIds: type: array items: type: string title: synced_report_ids syncedDatasetIds: type: array items: type: string title: synced_dataset_ids title: SyncPowerBIItemsResponse additionalProperties: false textql.rpc.public.powerbi.SyncedPowerBIDataset: type: object properties: dataset: title: dataset $ref: '#/components/schemas/textql.rpc.public.powerbi.PowerBIDataset' workspaceId: type: string title: workspace_id workspaceName: type: string title: workspace_name syncedAt: title: synced_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: SyncedPowerBIDataset additionalProperties: false textql.rpc.public.powerbi.SyncedPowerBIReport: type: object properties: report: title: report $ref: '#/components/schemas/textql.rpc.public.powerbi.PowerBIReport' workspaceId: type: string title: workspace_id workspaceName: type: string title: workspace_name syncedAt: title: synced_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: SyncedPowerBIReport additionalProperties: false textql.rpc.public.powerbi.TestPowerBIConnectionRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 nullable: true tenantId: type: string title: tenant_id nullable: true clientId: type: string title: client_id nullable: true clientSecret: type: string title: client_secret nullable: true title: TestPowerBIConnectionRequest additionalProperties: false textql.rpc.public.powerbi.TestPowerBIConnectionResponse: type: object properties: success: type: boolean title: success error: type: string title: error title: TestPowerBIConnectionResponse additionalProperties: false textql.rpc.public.powerbi.UnsyncPowerBIItemsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 reportIds: type: array items: type: string title: report_ids datasetIds: type: array items: type: string title: dataset_ids title: UnsyncPowerBIItemsRequest additionalProperties: false textql.rpc.public.powerbi.UnsyncPowerBIItemsResponse: type: object properties: success: type: boolean title: success error: type: string title: error nullable: true title: UnsyncPowerBIItemsResponse additionalProperties: false textql.rpc.public.rbac.AccessRequest: type: object properties: id: type: string title: id orgId: type: string title: org_id objectType: type: string title: object_type objectId: type: string title: object_id memberId: type: string title: member_id requestedAccessType: type: string title: requested_access_type justification: type: string title: justification requestMessage: type: string title: request_message nullable: true status: type: string title: status reviewedBy: type: string title: reviewed_by nullable: true rejectionReason: type: string title: rejection_reason nullable: true createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: AccessRequest additionalProperties: false textql.rpc.public.rbac.ApiKey: type: object properties: id: type: string title: id memberId: type: string title: member_id clientId: type: string title: client_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' apiKeyShort: type: string title: api_key_short nullable: true assumedRoles: type: array items: type: string title: assumed_roles name: type: string title: name nullable: true expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' revokedAt: title: revoked_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' status: title: status $ref: '#/components/schemas/textql.rpc.public.rbac.ApiKeyStatus' ownerDisplayName: type: string title: owner_display_name nullable: true ownerEmail: type: string title: owner_email nullable: true suppressSuperadmin: type: boolean title: suppress_superadmin title: ApiKey additionalProperties: false textql.rpc.public.rbac.ApiKeyScope: type: string title: ApiKeyScope enum: - API_KEY_SCOPE_UNSPECIFIED - API_KEY_SCOPE_ALL - API_KEY_SCOPE_PERSONAL - API_KEY_SCOPE_SERVICE_ACCOUNTS textql.rpc.public.rbac.ApiKeySortField: type: string title: ApiKeySortField enum: - API_KEY_SORT_FIELD_UNSPECIFIED - API_KEY_SORT_FIELD_CREATED_AT - API_KEY_SORT_FIELD_EXPIRES_AT - API_KEY_SORT_FIELD_NAME textql.rpc.public.rbac.ApiKeyStatus: type: string title: ApiKeyStatus enum: - API_KEY_STATUS_UNSPECIFIED - API_KEY_STATUS_ACTIVE - API_KEY_STATUS_EXPIRED - API_KEY_STATUS_REVOKED textql.rpc.public.rbac.ApproveAccessRequestRequest: type: object properties: requestId: type: string title: request_id title: ApproveAccessRequestRequest additionalProperties: false textql.rpc.public.rbac.ApproveAccessRequestResponse: type: object properties: success: type: boolean title: success title: ApproveAccessRequestResponse additionalProperties: false textql.rpc.public.rbac.AssignPermissionToRoleRequest: type: object properties: roleId: type: string title: role_id permissionId: type: string title: permission_id title: AssignPermissionToRoleRequest additionalProperties: false textql.rpc.public.rbac.AssignPermissionToRoleResponse: type: object properties: success: type: boolean title: success title: AssignPermissionToRoleResponse additionalProperties: false textql.rpc.public.rbac.AssignRoleToMemberRequest: type: object properties: memberId: type: string title: member_id roleId: type: string title: role_id title: AssignRoleToMemberRequest additionalProperties: false textql.rpc.public.rbac.AssignRoleToMemberResponse: type: object properties: success: type: boolean title: success title: AssignRoleToMemberResponse additionalProperties: false textql.rpc.public.rbac.CallerCredential: type: object properties: authMethod: type: string title: auth_method apiKeyId: type: string title: api_key_id nullable: true apiKeyName: type: string title: api_key_name nullable: true apiKeyShort: type: string title: api_key_short nullable: true expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' status: title: status $ref: '#/components/schemas/textql.rpc.public.rbac.ApiKeyStatus' assumedRoleIds: type: array items: type: string title: assumed_role_ids clientId: type: string title: client_id nullable: true scopes: type: array items: type: string title: scopes title: CallerCredential additionalProperties: false description: Get current member roles and permissions messages textql.rpc.public.rbac.CallerModelAccess: type: object properties: allowedModels: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' title: allowed_models defaultModel: title: default_model $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' restricted: type: boolean title: restricted title: CallerModelAccess additionalProperties: false textql.rpc.public.rbac.CreateApiKeyRequest: type: object properties: expirySeconds: type: integer title: expiry_seconds nullable: true assumedRoles: type: array items: type: string title: assumed_roles inheritAllRoles: type: boolean title: inherit_all_roles nullable: true name: type: string title: name nullable: true targetMemberId: type: string title: target_member_id nullable: true clientId: type: string title: client_id nullable: true suppressSuperadmin: type: boolean title: suppress_superadmin fullMemberAccess: type: boolean title: full_member_access title: CreateApiKeyRequest additionalProperties: false textql.rpc.public.rbac.CreateApiKeyResponse: type: object properties: apiKey: title: api_key $ref: '#/components/schemas/textql.rpc.public.rbac.ApiKey' apiKeySecret: type: string title: api_key_secret apiKeyHash: type: string title: api_key_hash deprecated: true title: CreateApiKeyResponse additionalProperties: false textql.rpc.public.rbac.CreateApiKeyResult: type: object properties: apiKey: title: api_key $ref: '#/components/schemas/textql.rpc.public.rbac.ApiKey' apiKeySecret: type: string title: api_key_secret title: CreateApiKeyResult additionalProperties: false textql.rpc.public.rbac.CreatePersonalApiKeyRequest: type: object properties: name: type: string title: name nullable: true expirySeconds: type: integer title: expiry_seconds nullable: true assumedRoles: type: array items: type: string title: assumed_roles inheritAllRoles: type: boolean title: inherit_all_roles nullable: true clientId: type: string title: client_id nullable: true fullMemberAccess: type: boolean title: full_member_access suppressSuperadmin: type: boolean title: suppress_superadmin title: CreatePersonalApiKeyRequest additionalProperties: false textql.rpc.public.rbac.CreateRoleRequest: type: object properties: name: type: string title: name description: type: string title: description title: CreateRoleRequest additionalProperties: false textql.rpc.public.rbac.CreateRoleResponse: type: object properties: role: title: role $ref: '#/components/schemas/textql.rpc.public.rbac.Role' title: CreateRoleResponse additionalProperties: false description: Role management requests/responses textql.rpc.public.rbac.CreateServiceAccountApiKeyRequest: type: object properties: serviceAccountMemberId: type: string title: service_account_member_id name: type: string title: name nullable: true expirySeconds: type: integer title: expiry_seconds nullable: true assumedRoles: type: array items: type: string title: assumed_roles inheritAllRoles: type: boolean title: inherit_all_roles nullable: true clientId: type: string title: client_id nullable: true fullMemberAccess: type: boolean title: full_member_access title: CreateServiceAccountApiKeyRequest additionalProperties: false textql.rpc.public.rbac.CreateServiceAccountRequest: type: object properties: name: type: string title: name description: type: string title: description nullable: true ownerMemberId: type: string title: owner_member_id nullable: true roleIds: type: array items: type: string title: role_ids title: CreateServiceAccountRequest additionalProperties: false textql.rpc.public.rbac.CreateServiceAccountResponse: type: object properties: memberId: type: string title: member_id email: type: string title: email title: CreateServiceAccountResponse additionalProperties: false textql.rpc.public.rbac.DeleteRoleRequest: type: object properties: roleId: type: string title: role_id title: DeleteRoleRequest additionalProperties: false textql.rpc.public.rbac.DeleteRoleResponse: type: object properties: success: type: boolean title: success title: DeleteRoleResponse additionalProperties: false textql.rpc.public.rbac.DeleteServiceAccountRequest: type: object properties: memberId: type: string title: member_id title: DeleteServiceAccountRequest additionalProperties: false textql.rpc.public.rbac.DeleteServiceAccountResponse: type: object properties: success: type: boolean title: success title: DeleteServiceAccountResponse additionalProperties: false textql.rpc.public.rbac.GenerateShareLinkRequest: type: object properties: objectType: type: string title: object_type objectId: type: string title: object_id title: GenerateShareLinkRequest additionalProperties: false textql.rpc.public.rbac.GenerateShareLinkResponse: type: object properties: shareLink: type: string title: share_link title: GenerateShareLinkResponse additionalProperties: false textql.rpc.public.rbac.GetCurrentMemberRolesAndPermissionsRequest: type: object title: GetCurrentMemberRolesAndPermissionsRequest additionalProperties: false textql.rpc.public.rbac.GetCurrentMemberRolesAndPermissionsResponse: type: object properties: roles: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.Role' title: roles permissions: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.Permission' title: permissions title: GetCurrentMemberRolesAndPermissionsResponse additionalProperties: false textql.rpc.public.rbac.GetEmbedUserApiKeyRequest: type: object properties: memberId: type: string title: member_id title: GetEmbedUserApiKeyRequest additionalProperties: false textql.rpc.public.rbac.GetEmbedUserApiKeyResponse: type: object properties: apiKeyBase64: type: string title: api_key_base64 apiKeyShort: type: string title: api_key_short serviceAccountEmail: type: string title: service_account_email title: GetEmbedUserApiKeyResponse additionalProperties: false textql.rpc.public.rbac.GetMemberRolesRequest: type: object properties: memberIds: type: array items: type: string title: member_ids title: GetMemberRolesRequest additionalProperties: false textql.rpc.public.rbac.GetMemberRolesResponse: type: object properties: memberRoles: type: object title: member_roles additionalProperties: title: value $ref: '#/components/schemas/textql.rpc.public.rbac.MemberRoles' title: GetMemberRolesResponse additionalProperties: false textql.rpc.public.rbac.GetMemberRolesResponse.MemberRolesEntry: type: object properties: key: type: string title: key value: title: value $ref: '#/components/schemas/textql.rpc.public.rbac.MemberRoles' title: MemberRolesEntry additionalProperties: false textql.rpc.public.rbac.GetObjectAccessRequest: type: object properties: objectType: type: string title: object_type objectId: type: string title: object_id title: GetObjectAccessRequest additionalProperties: false textql.rpc.public.rbac.GetObjectAccessResponse: type: object properties: accessEntries: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.ObjectAccess' title: access_entries title: GetObjectAccessResponse additionalProperties: false textql.rpc.public.rbac.GetRolePermissionsRequest: type: object properties: roleId: type: string title: role_id title: GetRolePermissionsRequest additionalProperties: false textql.rpc.public.rbac.GetRolePermissionsResponse: type: object properties: permissions: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.Permission' title: permissions title: GetRolePermissionsResponse additionalProperties: false textql.rpc.public.rbac.GetRoleRequest: type: object properties: roleId: type: string title: role_id title: GetRoleRequest additionalProperties: false textql.rpc.public.rbac.GetRoleResponse: type: object properties: role: title: role $ref: '#/components/schemas/textql.rpc.public.rbac.Role' title: GetRoleResponse additionalProperties: false textql.rpc.public.rbac.HasObjectAccessRequest: type: object properties: objectType: type: string title: object_type objectId: type: string title: object_id memberId: type: string title: member_id nullable: true roleId: type: string title: role_id nullable: true title: HasObjectAccessRequest additionalProperties: false textql.rpc.public.rbac.HasObjectAccessResponse: type: object properties: hasAccess: type: boolean title: has_access title: HasObjectAccessResponse additionalProperties: false textql.rpc.public.rbac.ListAccessRequestsRequest: type: object properties: objectType: type: string title: object_type nullable: true objectId: type: string title: object_id nullable: true status: type: string title: status nullable: true title: ListAccessRequestsRequest additionalProperties: false textql.rpc.public.rbac.ListAccessRequestsResponse: type: object properties: requests: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.AccessRequest' title: requests title: ListAccessRequestsResponse additionalProperties: false description: Access request management messages textql.rpc.public.rbac.ListApiKeysRequest: type: object properties: scope: title: scope nullable: true $ref: '#/components/schemas/textql.rpc.public.rbac.ApiKeyScope' serviceAccountMemberId: type: string title: service_account_member_id nullable: true includeRevoked: type: boolean title: include_revoked nullable: true searchTerm: type: string title: search_term nullable: true sortBy: title: sort_by nullable: true $ref: '#/components/schemas/textql.rpc.public.rbac.ApiKeySortField' sortDirection: title: sort_direction nullable: true $ref: '#/components/schemas/textql.rpc.public.common.SortDirection' pageSize: type: integer title: page_size nullable: true pageToken: type: string title: page_token nullable: true title: ListApiKeysRequest additionalProperties: false textql.rpc.public.rbac.ListApiKeysResponse: type: object properties: apiKeys: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.ApiKey' title: api_keys nextPageToken: type: string title: next_page_token nullable: true title: ListApiKeysResponse additionalProperties: false textql.rpc.public.rbac.ListPermissionsRequest: type: object title: ListPermissionsRequest additionalProperties: false textql.rpc.public.rbac.ListPermissionsResponse: type: object properties: permissions: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.Permission' title: permissions title: ListPermissionsResponse additionalProperties: false description: Permission management requests/responses textql.rpc.public.rbac.ListRolesRequest: type: object title: ListRolesRequest additionalProperties: false textql.rpc.public.rbac.ListRolesResponse: type: object properties: roles: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.Role' title: roles title: ListRolesResponse additionalProperties: false textql.rpc.public.rbac.ListServiceAccountsRequest: type: object properties: searchTerm: type: string title: search_term nullable: true pageSize: type: integer title: page_size nullable: true pageToken: type: string title: page_token nullable: true title: ListServiceAccountsRequest additionalProperties: false textql.rpc.public.rbac.ListServiceAccountsResponse: type: object properties: serviceAccounts: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.ServiceAccount' title: service_accounts nextPageToken: type: string title: next_page_token nullable: true title: ListServiceAccountsResponse additionalProperties: false textql.rpc.public.rbac.MemberRoles: type: object properties: roles: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.Role' title: roles title: MemberRoles additionalProperties: false textql.rpc.public.rbac.ObjectAccess: type: object properties: id: type: string title: id orgId: type: string title: org_id objectType: type: string title: object_type objectId: type: string title: object_id createdBy: type: string title: created_by nullable: true isPublic: type: boolean title: is_public memberId: type: string title: member_id nullable: true roleId: type: string title: role_id nullable: true accessType: type: string title: access_type grantedBy: type: string title: granted_by nullable: true expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: ObjectAccess additionalProperties: false textql.rpc.public.rbac.Permission: type: object properties: id: type: string title: id resource: type: string title: resource action: type: string title: action description: type: string title: description createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: Permission additionalProperties: false textql.rpc.public.rbac.RejectAccessRequestRequest: type: object properties: requestId: type: string title: request_id rejectionReason: type: string title: rejection_reason nullable: true title: RejectAccessRequestRequest additionalProperties: false textql.rpc.public.rbac.RejectAccessRequestResponse: type: object properties: success: type: boolean title: success title: RejectAccessRequestResponse additionalProperties: false textql.rpc.public.rbac.RemovePermissionFromRoleRequest: type: object properties: roleId: type: string title: role_id permissionId: type: string title: permission_id title: RemovePermissionFromRoleRequest additionalProperties: false textql.rpc.public.rbac.RemovePermissionFromRoleResponse: type: object properties: success: type: boolean title: success title: RemovePermissionFromRoleResponse additionalProperties: false textql.rpc.public.rbac.RemoveRoleFromMemberRequest: type: object properties: memberId: type: string title: member_id roleId: type: string title: role_id title: RemoveRoleFromMemberRequest additionalProperties: false textql.rpc.public.rbac.RemoveRoleFromMemberResponse: type: object properties: success: type: boolean title: success title: RemoveRoleFromMemberResponse additionalProperties: false description: Member role management messages textql.rpc.public.rbac.RequestAccessRequest: type: object properties: objectType: type: string title: object_type objectId: type: string title: object_id requestedAccessType: type: string title: requested_access_type justification: type: string title: justification requestMessage: type: string title: request_message nullable: true title: RequestAccessRequest additionalProperties: false textql.rpc.public.rbac.RequestAccessResponse: type: object properties: success: type: boolean title: success requestId: type: string title: request_id title: RequestAccessResponse additionalProperties: false textql.rpc.public.rbac.RevokeApiKeyRequest: type: object properties: apiKeyId: type: string title: api_key_id title: RevokeApiKeyRequest additionalProperties: false textql.rpc.public.rbac.RevokeApiKeyResponse: type: object properties: success: type: boolean title: success title: RevokeApiKeyResponse additionalProperties: false textql.rpc.public.rbac.RevokeObjectAccessRequest: type: object properties: objectType: type: string title: object_type objectId: type: string title: object_id memberId: type: string title: member_id nullable: true roleId: type: string title: role_id nullable: true title: RevokeObjectAccessRequest additionalProperties: false textql.rpc.public.rbac.RevokeObjectAccessResponse: type: object properties: success: type: boolean title: success title: RevokeObjectAccessResponse additionalProperties: false textql.rpc.public.rbac.Role: type: object properties: id: type: string title: id orgId: type: string title: org_id name: type: string title: name description: type: string title: description isSystem: type: boolean title: is_system createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' allowedModels: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' title: allowed_models defaultModel: title: default_model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' allowModelChoice: type: boolean title: allow_model_choice nullable: true isScimManaged: type: boolean title: is_scim_managed title: Role additionalProperties: false textql.rpc.public.rbac.RotateApiKeyRequest: type: object properties: apiKeyId: type: string title: api_key_id title: RotateApiKeyRequest additionalProperties: false textql.rpc.public.rbac.RotateApiKeyResponse: type: object properties: apiKey: title: api_key $ref: '#/components/schemas/textql.rpc.public.rbac.ApiKey' apiKeySecret: type: string title: api_key_secret revokedApiKeyId: type: string title: revoked_api_key_id title: RotateApiKeyResponse additionalProperties: false textql.rpc.public.rbac.ServiceAccount: type: object properties: memberId: type: string title: member_id email: type: string title: email displayName: type: string title: display_name description: type: string title: description nullable: true ownerMemberId: type: string title: owner_member_id nullable: true createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' agentId: type: string title: agent_id nullable: true title: ServiceAccount additionalProperties: false textql.rpc.public.rbac.SetRolePermissionsRequest: type: object properties: roleId: type: string title: role_id addPermissionIds: type: array items: type: string title: add_permission_ids removePermissionIds: type: array items: type: string title: remove_permission_ids title: SetRolePermissionsRequest additionalProperties: false textql.rpc.public.rbac.SetRolePermissionsResponse: type: object properties: success: type: boolean title: success title: SetRolePermissionsResponse additionalProperties: false textql.rpc.public.rbac.ShareObjectRequest: type: object properties: objectType: type: string title: object_type objectId: type: string title: object_id memberId: type: string title: member_id accessType: type: string title: access_type expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' isPublic: type: boolean title: is_public title: ShareObjectRequest additionalProperties: false description: Which LLM models the caller may run. textql.rpc.public.rbac.ShareObjectResponse: type: object properties: success: type: boolean title: success title: ShareObjectResponse additionalProperties: false textql.rpc.public.rbac.ShareObjectWithRoleRequest: type: object properties: objectType: type: string title: object_type objectId: type: string title: object_id roleId: type: string title: role_id accessType: type: string title: access_type expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' isPublic: type: boolean title: is_public title: ShareObjectWithRoleRequest additionalProperties: false textql.rpc.public.rbac.ShareObjectWithRoleResponse: type: object properties: success: type: boolean title: success title: ShareObjectWithRoleResponse additionalProperties: false description: Object access management messages textql.rpc.public.rbac.SharedObject: type: object properties: objectType: type: string title: object_type objectId: type: string title: object_id accessType: type: string title: access_type grantedVia: type: string title: granted_via roleId: type: string title: role_id nullable: true expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' groupId: type: string title: group_id nullable: true title: SharedObject additionalProperties: false description: WhoAmI messages textql.rpc.public.rbac.UpdateObjectAccessRequest: type: object properties: accessId: type: string title: access_id accessType: type: string title: access_type expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: UpdateObjectAccessRequest additionalProperties: false textql.rpc.public.rbac.UpdateObjectAccessResponse: type: object properties: success: type: boolean title: success title: UpdateObjectAccessResponse additionalProperties: false textql.rpc.public.rbac.UpdateObjectVisibilityRequest: type: object properties: objectType: type: string title: object_type objectId: type: string title: object_id isPublic: type: boolean title: is_public title: UpdateObjectVisibilityRequest additionalProperties: false textql.rpc.public.rbac.UpdateObjectVisibilityResponse: type: object properties: success: type: boolean title: success title: UpdateObjectVisibilityResponse additionalProperties: false textql.rpc.public.rbac.UpdateRoleRequest: type: object properties: roleId: type: string title: role_id name: type: string title: name description: type: string title: description allowModelChoice: title: allow_model_choice $ref: '#/components/schemas/google.protobuf.BoolValue' clearAllowedModelIds: type: boolean title: clear_allowed_model_ids allowedModels: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' title: allowed_models defaultModel: title: default_model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' title: UpdateRoleRequest additionalProperties: false textql.rpc.public.rbac.UpdateRoleResponse: type: object properties: role: title: role $ref: '#/components/schemas/textql.rpc.public.rbac.Role' title: UpdateRoleResponse additionalProperties: false textql.rpc.public.rbac.WhoAmIRequest: type: object title: WhoAmIRequest additionalProperties: false textql.rpc.public.rbac.WhoAmIResponse: type: object properties: memberId: type: string title: member_id orgId: type: string title: org_id email: type: string title: email nullable: true credential: title: credential $ref: '#/components/schemas/textql.rpc.public.rbac.CallerCredential' roles: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.Role' title: roles permissions: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.Permission' title: permissions modelAccess: title: model_access $ref: '#/components/schemas/textql.rpc.public.rbac.CallerModelAccess' sharedAccess: type: array items: $ref: '#/components/schemas/textql.rpc.public.rbac.SharedObject' title: shared_access sharedAccessTruncated: type: boolean title: shared_access_truncated title: WhoAmIResponse additionalProperties: false description: The credential that authenticated the request. textql.rpc.public.reports.CardBlock: type: object properties: blocks: type: array items: $ref: '#/components/schemas/textql.rpc.public.reports.ReportBlock' title: blocks title: CardBlock additionalProperties: false textql.rpc.public.reports.DividerBlock: type: object title: DividerBlock additionalProperties: false textql.rpc.public.reports.HeroBlock: type: object properties: imageUrl: type: string title: image_url imageAlt: type: string title: image_alt nullable: true title: HeroBlock additionalProperties: false textql.rpc.public.reports.ImageBlock: type: object properties: imageUrl: type: string title: image_url imageAlt: type: string title: image_alt nullable: true variant: title: variant nullable: true $ref: '#/components/schemas/textql.rpc.public.reports.ImageVariant' title: ImageBlock additionalProperties: false textql.rpc.public.reports.ImageTextBlock: type: object properties: imageUrl: type: string title: image_url imageAlt: type: string title: image_alt nullable: true variant: title: variant nullable: true $ref: '#/components/schemas/textql.rpc.public.reports.ImageVariant' heading: type: string title: heading nullable: true content: type: string title: content nullable: true title: ImageTextBlock additionalProperties: false textql.rpc.public.reports.ImageVariant: type: string title: ImageVariant enum: - IMAGE_VARIANT_CIRCULAR - IMAGE_VARIANT_ROUNDED - IMAGE_VARIANT_PILL - IMAGE_VARIANT_NONE textql.rpc.public.reports.ListBlock: type: object properties: heading: type: string title: heading nullable: true items: type: array items: type: string title: items title: ListBlock additionalProperties: false textql.rpc.public.reports.ReportBlock: type: object oneOf: - type: object properties: card: title: card $ref: '#/components/schemas/textql.rpc.public.reports.CardBlock' title: card required: - card - type: object properties: divider: title: divider $ref: '#/components/schemas/textql.rpc.public.reports.DividerBlock' title: divider required: - divider - type: object properties: hero: title: hero $ref: '#/components/schemas/textql.rpc.public.reports.HeroBlock' title: hero required: - hero - type: object properties: image: title: image $ref: '#/components/schemas/textql.rpc.public.reports.ImageBlock' title: image required: - image - type: object properties: imageText: title: image_text $ref: '#/components/schemas/textql.rpc.public.reports.ImageTextBlock' title: image_text required: - imageText - type: object properties: list: title: list $ref: '#/components/schemas/textql.rpc.public.reports.ListBlock' title: list required: - list - type: object properties: spacer: title: spacer $ref: '#/components/schemas/textql.rpc.public.reports.SpacerBlock' title: spacer required: - spacer - type: object properties: text: title: text $ref: '#/components/schemas/textql.rpc.public.reports.TextBlock' title: text required: - text title: ReportBlock additionalProperties: false textql.rpc.public.reports.SpacerBlock: type: object properties: height: type: integer title: height format: int32 nullable: true title: SpacerBlock additionalProperties: false textql.rpc.public.reports.TextBlock: type: object properties: heading: type: string title: heading nullable: true content: type: string title: content nullable: true title: TextBlock additionalProperties: false textql.rpc.public.sandbox_admin.GetSandboxRequest: type: object properties: sandboxId: type: string title: sandbox_id title: GetSandboxRequest additionalProperties: false textql.rpc.public.sandbox_admin.GetSandboxResponse: type: object properties: sandbox: title: sandbox $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.SandboxSummary' liveAvailable: type: boolean title: live_available memoryUsageBytes: type: - integer - string title: memory_usage_bytes format: int64 dataframes: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.SandboxDataframe' title: dataframes title: GetSandboxResponse additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxEgressRequest: type: object properties: sandboxId: type: string title: sandbox_id limit: type: integer title: limit format: int32 description: Max calls to return (newest first). Server clamps to a sane default/cap. title: ListSandboxEgressRequest additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxEgressResponse: type: object properties: calls: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.SandboxEgressCall' title: calls description: Newest first. title: ListSandboxEgressResponse additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxExecutionsRequest: type: object properties: sandboxId: type: string title: sandbox_id limit: type: integer title: limit format: int32 cursor: type: string title: cursor title: ListSandboxExecutionsRequest additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxExecutionsResponse: type: object properties: executions: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.SandboxExecution' title: executions nextCursor: type: string title: next_cursor title: ListSandboxExecutionsResponse additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxFilesRequest: type: object properties: sandboxId: type: string title: sandbox_id path: type: string title: path description: Directory to list, relative to the sandbox files root ("" = root). title: ListSandboxFilesRequest additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxFilesResponse: type: object properties: available: type: boolean title: available description: False when the sandbox is not running (no live filesystem); entries empty. entries: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.SandboxFileEntry' title: entries title: ListSandboxFilesResponse additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxSpendRequest: type: object properties: sandboxId: type: string title: sandbox_id title: ListSandboxSpendRequest additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxSpendResponse: type: object properties: intervals: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.SandboxSpendInterval' title: intervals description: Newest first. acusPerHour: type: number title: acus_per_hour format: double description: ACUs per instance-hour used to compute the figures above. totalAcus: type: number title: total_acus format: double description: Sum of acus across all returned intervals. acuRatePer1000Usd: type: number title: acu_rate_per_1000_usd format: double description: |- Effective ACU->USD rate for this org, in USD per 1000 ACUs (resolved from the tenant's pricing tier / active override). 0 means unknown/unpriced. title: ListSandboxSpendResponse additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxesRequest: type: object properties: status: type: string title: status description: 'One of: running | stopped | all. Defaults to running.' limit: type: integer title: limit format: int32 cursor: type: string title: cursor title: ListSandboxesRequest additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxesResponse: type: object properties: sandboxes: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.SandboxSummary' title: sandboxes nextCursor: type: string title: next_cursor title: ListSandboxesResponse additionalProperties: false textql.rpc.public.sandbox_admin.ReadSandboxFileRequest: type: object properties: sandboxId: type: string title: sandbox_id path: type: string title: path description: File to read, relative to the sandbox files root. title: ReadSandboxFileRequest additionalProperties: false textql.rpc.public.sandbox_admin.ReadSandboxFileResponse: type: object properties: available: type: boolean title: available name: type: string title: name description: CPU in cores (e.g. 0.12 used of a 1.5 limit). Limit 0 = none configured. sizeBytes: type: - integer - string title: size_bytes format: int64 mimeType: type: string title: mime_type description: Percent of the limit in [0, 100]; 0 when no limit is configured. content: type: string title: content binaryContent: type: string title: binary_content format: byte truncated: type: boolean title: truncated isBinary: type: boolean title: is_binary title: ReadSandboxFileResponse additionalProperties: false description: One CPU/memory measurement of a sandbox worker. textql.rpc.public.sandbox_admin.RestartSandboxRequest: type: object properties: sandboxId: type: string title: sandbox_id title: RestartSandboxRequest additionalProperties: false textql.rpc.public.sandbox_admin.RestartSandboxResponse: type: object properties: sandboxId: type: string title: sandbox_id startedAt: title: started_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: RestartSandboxResponse additionalProperties: false textql.rpc.public.sandbox_admin.SandboxDataframe: type: object properties: name: type: string title: name numRows: type: - integer - string title: num_rows format: int64 numCols: type: - integer - string title: num_cols format: int64 memoryUsageBytes: type: - integer - string title: memory_usage_bytes format: int64 title: SandboxDataframe additionalProperties: false description: |- Note: spelled "Dataframe" (not "DataFrame") to avoid a Go type collision with dataset.proto's SandboxDataFrame — both files generate into the same Go package (compute/pkg/rpc/server/public). textql.rpc.public.sandbox_admin.SandboxEgressCall: type: object properties: id: type: string title: id method: type: string title: method scheme: type: string title: scheme host: type: string title: host path: type: string title: path description: query string redacted at capture time statusCode: type: integer title: status_code format: int32 description: 0 for denials outcome: type: string title: outcome description: ok | denied | error durationMs: type: - integer - string title: duration_ms format: int64 requestBytes: type: - integer - string title: request_bytes format: int64 responseBytes: type: - integer - string title: response_bytes format: int64 cellId: type: string title: cell_id description: chat cell that made the request, empty if unknown occurredAt: title: occurred_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: SandboxEgressCall additionalProperties: false description: |- One recorded outbound HTTP(S) call made by a sandbox (the egress ledger). Payload bodies/headers are intentionally omitted here (they are encrypted and fetched separately on demand). textql.rpc.public.sandbox_admin.SandboxExecution: type: object properties: id: type: string title: id kind: type: string title: kind description: python | bash | sql | tql source: type: string title: source description: platform_api | chat | dashboard | playbook | internal input: type: string title: input outputPreview: type: string title: output_preview error: type: string title: error durationMs: type: - integer - string title: duration_ms format: int64 createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: SandboxExecution additionalProperties: false description: |- One recorded execution in a sandbox's Activity feed. output_preview is truncated (see execlog); input is the caller's code / SQL text / tql_path. textql.rpc.public.sandbox_admin.SandboxFileEntry: type: object properties: name: type: string title: name description: base name path: type: string title: path description: path relative to the sandbox files root isDir: type: boolean title: is_dir sizeBytes: type: - integer - string title: size_bytes format: int64 description: 0 for directories modifiedAt: title: modified_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: SandboxFileEntry additionalProperties: false description: One entry in a sandbox directory listing. textql.rpc.public.sandbox_admin.SandboxSpendInterval: type: object properties: startedAt: title: started_at $ref: '#/components/schemas/google.protobuf.Timestamp' endedAt: title: ended_at description: unset while running nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' durationMs: type: - integer - string title: duration_ms format: int64 acus: type: number title: acus format: double active: type: boolean title: active description: lease still open (sandbox running) title: SandboxSpendInterval additionalProperties: false description: |- One billable lease interval: the worker was held from started_at to ended_at (or now, while still running). acus = duration_hours × acus_per_hour. This is compute usage derived from lease durations, not the invoiced dollar amount, and excludes warm-window idle billing handled by the console ledger. textql.rpc.public.sandbox_admin.SandboxSummary: type: object properties: sandboxId: type: string title: sandbox_id status: type: string title: status description: |- One of: running | stale | stopped | unknown (string, not enum, matching how the REST API reports it). memberId: type: string title: member_id description: May be empty for legacy rows. chatId: type: string title: chat_id description: Empty when the sandbox is not associated with a chat. startedAt: title: started_at $ref: '#/components/schemas/google.protobuf.Timestamp' releasedAt: title: released_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' title: SandboxSummary additionalProperties: false textql.rpc.public.sandbox_admin.StopSandboxRequest: type: object properties: sandboxId: type: string title: sandbox_id title: StopSandboxRequest additionalProperties: false textql.rpc.public.sandbox_admin.StopSandboxResponse: type: object properties: success: type: boolean title: success title: StopSandboxResponse additionalProperties: false textql.rpc.public.sandbox_capability.AskBlock: type: object properties: type: type: string title: type description: markdown | chart | link content: type: string title: content description: 'markdown blocks: the markdown text' url: type: string title: url description: chart/link blocks title: type: string title: title description: chart/link blocks; optional title: AskBlock additionalProperties: false textql.rpc.public.sandbox_capability.SandboxExecuteWriteRequest: type: object properties: name: type: string title: name connectorId: type: integer title: connector_id format: int32 statement: type: string title: statement parameters: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxQueryParam' title: parameters maxRows: type: - integer - string title: max_rows format: int64 title: SandboxExecuteWriteRequest additionalProperties: false textql.rpc.public.sandbox_capability.SandboxExecuteWriteResponse: type: object properties: arrowData: type: string title: arrow_data format: byte totalRows: type: - integer - string title: total_rows format: int64 error: type: string title: error refreshedToken: type: string title: refreshed_token nullable: true title: SandboxExecuteWriteResponse additionalProperties: false textql.rpc.public.sandbox_capability.SandboxPollAskRequest: type: object properties: name: type: string title: name agentId: type: string title: agent_id askId: type: string title: ask_id cursor: type: string title: cursor appDb: type: string title: app_db title: SandboxPollAskRequest additionalProperties: false textql.rpc.public.sandbox_capability.SandboxPollAskResponse: type: object properties: status: type: string title: status description: running | complete | error cursor: type: string title: cursor blocks: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.AskBlock' title: blocks chatId: type: string title: chat_id chatUrl: type: string title: chat_url error: type: string title: error refreshedToken: type: string title: refreshed_token nullable: true title: SandboxPollAskResponse additionalProperties: false textql.rpc.public.sandbox_capability.SandboxPutAssetRequest: type: object properties: fileName: type: string title: file_name contentType: type: string title: content_type data: type: string title: data format: byte title: SandboxPutAssetRequest additionalProperties: false textql.rpc.public.sandbox_capability.SandboxPutAssetResponse: type: object properties: url: type: string title: url error: type: string title: error refreshedToken: type: string title: refreshed_token nullable: true title: SandboxPutAssetResponse additionalProperties: false textql.rpc.public.sandbox_capability.SandboxSendNotifyRequest: type: object properties: name: type: string title: name subject: type: string title: subject body: type: string title: body parameters: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxQueryParam' title: parameters title: SandboxSendNotifyRequest additionalProperties: false textql.rpc.public.sandbox_capability.SandboxSendNotifyResponse: type: object properties: sent: type: boolean title: sent error: type: string title: error refreshedToken: type: string title: refreshed_token nullable: true title: SandboxSendNotifyResponse additionalProperties: false textql.rpc.public.sandbox_capability.SandboxStartAskRequest: type: object properties: name: type: string title: name agentId: type: string title: agent_id prompt: type: string title: prompt appDb: type: string title: app_db continueAskId: type: string title: continue_ask_id description: ask id of an earlier base-agent ask to follow up in; empty starts a new thread title: SandboxStartAskRequest additionalProperties: false textql.rpc.public.sandbox_capability.SandboxStartAskResponse: type: object properties: askId: type: string title: ask_id chatId: type: string title: chat_id chatUrl: type: string title: chat_url cursor: type: string title: cursor error: type: string title: error refreshedToken: type: string title: refreshed_token nullable: true title: SandboxStartAskResponse additionalProperties: false description: ask_id is "chat:" for base-agent asks, "agent:" for named-agent runs. textql.rpc.public.sandbox_capability.SandboxStateOpRequest: type: object properties: op: type: string title: op scope: type: string title: scope key: type: string title: key value: type: string title: value title: SandboxStateOpRequest additionalProperties: false textql.rpc.public.sandbox_capability.SandboxStateOpResponse: type: object properties: value: type: string title: value found: type: boolean title: found keys: type: array items: type: string title: keys error: type: string title: error refreshedToken: type: string title: refreshed_token nullable: true title: SandboxStateOpResponse additionalProperties: false textql.rpc.public.sandbox_exec.CreateSandboxRequest: type: object properties: sandboxId: type: string title: sandbox_id nullable: true title: CreateSandboxRequest additionalProperties: false textql.rpc.public.sandbox_exec.CreateSandboxResponse: type: object properties: sandboxId: type: string title: sandbox_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: CreateSandboxResponse additionalProperties: false textql.rpc.public.sandbox_exec.GetToolAvailabilityRequest: type: object title: GetToolAvailabilityRequest additionalProperties: false textql.rpc.public.sandbox_exec.GetToolAvailabilityResponse: type: object properties: tools: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.ToolAvailability' title: tools title: GetToolAvailabilityResponse additionalProperties: false textql.rpc.public.sandbox_exec.SandboxDataFrameOutput: type: object properties: name: type: string title: name numRows: type: integer title: num_rows format: int32 numCols: type: integer title: num_cols format: int32 title: SandboxDataFrameOutput additionalProperties: false textql.rpc.public.sandbox_exec.SandboxExecRequest: type: object properties: sandboxId: type: string title: sandbox_id minLength: 1 command: type: string title: command minLength: 1 kind: type: string title: kind description: '"" | "bash" | "sh" | "shell" | "python" | "py"' env: type: object title: env additionalProperties: type: string title: value title: SandboxExecRequest additionalProperties: false textql.rpc.public.sandbox_exec.SandboxExecRequest.EnvEntry: type: object properties: key: type: string title: key value: type: string title: value title: EnvEntry additionalProperties: false textql.rpc.public.sandbox_exec.SandboxExecResponse: type: object properties: stdout: type: string title: stdout stderr: type: string title: stderr exitCode: type: integer title: exit_code format: int32 error: type: string title: error nullable: true title: SandboxExecResponse additionalProperties: false textql.rpc.public.sandbox_exec.SandboxExecuteCodeRequest: type: object properties: sandboxId: type: string title: sandbox_id minLength: 1 code: type: string title: code minLength: 1 title: SandboxExecuteCodeRequest additionalProperties: false textql.rpc.public.sandbox_exec.SandboxExecuteCodeResponse: type: object properties: output: type: array items: type: string title: output error: type: string title: error nullable: true files: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.SandboxFileOutput' title: files dataframes: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_exec.SandboxDataFrameOutput' title: dataframes executionTimeMs: type: - integer - string title: execution_time_ms format: int64 title: SandboxExecuteCodeResponse additionalProperties: false textql.rpc.public.sandbox_exec.SandboxFileOutput: type: object properties: name: type: string title: name url: type: string title: url mimeType: type: string title: mime_type title: SandboxFileOutput additionalProperties: false textql.rpc.public.sandbox_exec.SandboxLoadConnectorDataRequest: type: object properties: sandboxId: type: string title: sandbox_id minLength: 1 connectorId: exclusiveMinimum: 0 type: integer title: connector_id format: int32 query: type: string title: query tqlPath: type: string title: tql_path params: title: params $ref: '#/components/schemas/google.protobuf.Struct' maxRows: type: integer title: max_rows format: int32 dataframeName: type: string title: dataframe_name nullable: true title: SandboxLoadConnectorDataRequest additionalProperties: false textql.rpc.public.sandbox_exec.SandboxLoadConnectorDataResponse: type: object properties: dataframeName: type: string title: dataframe_name numRows: type: - integer - string title: num_rows format: int64 numCols: type: - integer - string title: num_cols format: int64 preview: type: string title: preview title: SandboxLoadConnectorDataResponse additionalProperties: false textql.rpc.public.sandbox_exec.ToolAvailability: type: object properties: tool: type: string title: tool description: '"python" | "bash" | "sql"' enabled: type: boolean title: enabled reason: type: string title: reason title: ToolAvailability additionalProperties: false textql.rpc.public.sandbox_query.AppDBTemplate: type: object properties: query: type: string title: query description: SQL to run against the app's private DuckDB database title: AppDBTemplate additionalProperties: false textql.rpc.public.sandbox_query.LibraryTQLTemplate: type: object properties: tqlPath: type: string title: tql_path description: library path to a .tql file title: LibraryTQLTemplate additionalProperties: false textql.rpc.public.sandbox_query.SandboxExecuteBashRequest: type: object properties: script: type: string title: script env: type: object title: env additionalProperties: type: string title: value title: SandboxExecuteBashRequest additionalProperties: false textql.rpc.public.sandbox_query.SandboxExecuteBashRequest.EnvEntry: type: object properties: key: type: string title: key value: type: string title: value title: EnvEntry additionalProperties: false textql.rpc.public.sandbox_query.SandboxExecuteBashResponse: type: object properties: stdout: type: string title: stdout format: byte stderr: type: string title: stderr format: byte exitCode: type: integer title: exit_code format: int32 error: type: string title: error description: non-empty on execution-level failure (timeout, spawn error) refreshedToken: type: string title: refreshed_token nullable: true title: SandboxExecuteBashResponse additionalProperties: false textql.rpc.public.sandbox_query.SandboxExecuteQueryRequest: type: object allOf: - type: object properties: sourceName: type: string title: source_name connectorId: type: integer title: connector_id format: int32 parameters: type: array items: $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxQueryParam' title: parameters maxRows: type: - integer - string title: max_rows format: int64 - oneOf: - type: object properties: appDb: title: app_db $ref: '#/components/schemas/textql.rpc.public.sandbox_query.AppDBTemplate' title: app_db required: - appDb - type: object properties: libraryTql: title: library_tql $ref: '#/components/schemas/textql.rpc.public.sandbox_query.LibraryTQLTemplate' title: library_tql required: - libraryTql - type: object properties: sqlQuery: title: sql_query $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SqlQueryTemplate' title: sql_query required: - sqlQuery title: SandboxExecuteQueryRequest additionalProperties: false textql.rpc.public.sandbox_query.SandboxExecuteQueryResponse: type: object properties: arrowData: type: string title: arrow_data format: byte totalRows: type: - integer - string title: total_rows format: int64 error: type: string title: error refreshedToken: type: string title: refreshed_token nullable: true title: SandboxExecuteQueryResponse additionalProperties: false textql.rpc.public.sandbox_query.SandboxQueryParam: type: object properties: name: type: string title: name value: type: string title: value title: SandboxQueryParam additionalProperties: false textql.rpc.public.sandbox_query.SqlQueryTemplate: type: object properties: query: type: string title: query description: SQL with :param placeholders title: SqlQueryTemplate additionalProperties: false textql.rpc.public.scim.CreateScimOAuthClientRequest: type: object properties: description: type: string title: description expiresInDays: type: integer title: expires_in_days format: int32 nullable: true title: CreateScimOAuthClientRequest additionalProperties: false textql.rpc.public.scim.CreateScimOAuthClientResponse: type: object properties: id: type: string title: id clientId: type: string title: client_id clientSecret: type: string title: client_secret description: type: string title: description expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: CreateScimOAuthClientResponse additionalProperties: false textql.rpc.public.scim.CreateScimTokenRequest: type: object properties: description: type: string title: description expiresInDays: type: integer title: expires_in_days format: int32 nullable: true title: CreateScimTokenRequest additionalProperties: false textql.rpc.public.scim.CreateScimTokenResponse: type: object properties: id: type: string title: id token: type: string title: token description: type: string title: description expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: CreateScimTokenResponse additionalProperties: false textql.rpc.public.scim.ListScimOAuthClientsRequest: type: object title: ListScimOAuthClientsRequest additionalProperties: false textql.rpc.public.scim.ListScimOAuthClientsResponse: type: object properties: clients: type: array items: $ref: '#/components/schemas/textql.rpc.public.scim.ScimOAuthClient' title: clients title: ListScimOAuthClientsResponse additionalProperties: false textql.rpc.public.scim.ListScimTokensRequest: type: object title: ListScimTokensRequest additionalProperties: false textql.rpc.public.scim.ListScimTokensResponse: type: object properties: tokens: type: array items: $ref: '#/components/schemas/textql.rpc.public.scim.ScimToken' title: tokens title: ListScimTokensResponse additionalProperties: false textql.rpc.public.scim.RevokeScimOAuthClientRequest: type: object properties: id: type: string title: id title: RevokeScimOAuthClientRequest additionalProperties: false textql.rpc.public.scim.RevokeScimOAuthClientResponse: type: object title: RevokeScimOAuthClientResponse additionalProperties: false textql.rpc.public.scim.RevokeScimTokenRequest: type: object properties: id: type: string title: id title: RevokeScimTokenRequest additionalProperties: false textql.rpc.public.scim.RevokeScimTokenResponse: type: object title: RevokeScimTokenResponse additionalProperties: false textql.rpc.public.scim.ScimOAuthClient: type: object properties: id: type: string title: id clientId: type: string title: client_id description: type: string title: description createdBy: type: string title: created_by expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' revokedAt: title: revoked_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: ScimOAuthClient additionalProperties: false textql.rpc.public.scim.ScimToken: type: object properties: id: type: string title: id description: type: string title: description createdBy: type: string title: created_by expiresAt: title: expires_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' revokedAt: title: revoked_at nullable: true $ref: '#/components/schemas/google.protobuf.Timestamp' createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: ScimToken additionalProperties: false textql.rpc.public.secret.DeleteSecretRequest: type: object properties: name: type: string title: name title: DeleteSecretRequest additionalProperties: false textql.rpc.public.secret.DeleteSecretResponse: type: object title: DeleteSecretResponse additionalProperties: false textql.rpc.public.secret.GetMembersWithSecretsRequest: type: object title: GetMembersWithSecretsRequest additionalProperties: false textql.rpc.public.secret.GetMembersWithSecretsResponse: type: object properties: members: type: array items: $ref: '#/components/schemas/textql.rpc.identity.MemberPreview' title: members title: GetMembersWithSecretsResponse additionalProperties: false textql.rpc.public.secret.ListSecretsRequest: type: object title: ListSecretsRequest additionalProperties: false textql.rpc.public.secret.ListSecretsResponse: type: object properties: secrets: type: array items: $ref: '#/components/schemas/textql.rpc.public.secret.Secret' title: secrets title: ListSecretsResponse additionalProperties: false textql.rpc.public.secret.PutSecretRequest: type: object properties: name: type: string title: name value: type: string title: value description: type: string title: description nullable: true link: type: string title: link nullable: true isPrivate: type: boolean title: is_private title: PutSecretRequest additionalProperties: false textql.rpc.public.secret.PutSecretResponse: type: object title: PutSecretResponse additionalProperties: false textql.rpc.public.secret.Secret: type: object properties: id: type: string title: id name: type: string title: name createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' description: type: string title: description nullable: true link: type: string title: link nullable: true createdBy: type: string title: created_by accessType: type: string title: access_type nullable: true isPublic: type: boolean title: is_public title: Secret additionalProperties: false textql.rpc.public.secret.UpdateSecretRequest: type: object properties: name: type: string title: name value: type: string title: value nullable: true description: type: string title: description nullable: true link: type: string title: link nullable: true title: UpdateSecretRequest additionalProperties: false textql.rpc.public.secret.UpdateSecretResponse: type: object title: UpdateSecretResponse additionalProperties: false textql.rpc.public.settings.CheckMemberStatusRequest: type: object properties: forceRefresh: type: boolean title: force_refresh title: CheckMemberStatusRequest additionalProperties: false textql.rpc.public.settings.CheckMemberStatusResponse: type: object properties: isSuspended: type: boolean title: is_suspended consoleAccess: type: boolean title: console_access isSuspendedManual: type: boolean title: is_suspended_manual isSuspendedOverage: type: boolean title: is_suspended_overage isSuspendedUsage: type: boolean title: is_suspended_usage isSuspendedMemberUsage: type: boolean title: is_suspended_member_usage suspensionMessage: type: string title: suspension_message suspendedCostCenters: type: array items: type: string title: suspended_cost_centers isSuspendedOrgLimit: type: boolean title: is_suspended_org_limit title: CheckMemberStatusResponse additionalProperties: false textql.rpc.public.settings.DeleteOrganizationMemberRequest: type: object properties: orgId: type: string title: org_id memberId: type: string title: member_id hardDelete: type: boolean title: hard_delete title: DeleteOrganizationMemberRequest additionalProperties: false textql.rpc.public.settings.DeleteOrganizationMemberResponse: type: object properties: success: type: boolean title: success title: DeleteOrganizationMemberResponse additionalProperties: false textql.rpc.public.settings.GetOrganizationSettingsRequest: type: object title: GetOrganizationSettingsRequest additionalProperties: false textql.rpc.public.settings.GetOrganizationSettingsResponse: type: object properties: organization: title: organization $ref: '#/components/schemas/textql.rpc.auth.Organization' title: GetOrganizationSettingsResponse additionalProperties: false textql.rpc.public.settings.InviteOrganizationMemberRequest: type: object properties: orgId: type: string title: org_id email: type: string title: email role: type: string title: role nullable: true title: InviteOrganizationMemberRequest additionalProperties: false textql.rpc.public.settings.InviteOrganizationMemberResponse: type: object properties: success: type: boolean title: success title: InviteOrganizationMemberResponse additionalProperties: false textql.rpc.public.settings.ListOrganizationMembersRequest: type: object properties: orgId: type: string title: org_id title: ListOrganizationMembersRequest additionalProperties: false textql.rpc.public.settings.ListOrganizationMembersResponse: type: object properties: members: type: array items: $ref: '#/components/schemas/textql.rpc.auth.Member' title: members title: ListOrganizationMembersResponse additionalProperties: false textql.rpc.public.settings.UpdateOrganizationModelSettingsRequest: type: object properties: defaultModel: title: default_model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' enabledModels: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' title: enabled_models clearEnabledModels: type: boolean title: clear_enabled_models restrictedModels: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' title: restricted_models clearRestrictedModels: type: boolean title: clear_restricted_models restrictedFamilies: type: array items: type: string title: restricted_families clearRestrictedFamilies: type: boolean title: clear_restricted_families title: UpdateOrganizationModelSettingsRequest additionalProperties: false textql.rpc.public.settings.UpdateOrganizationModelSettingsResponse: type: object properties: organization: title: organization $ref: '#/components/schemas/textql.rpc.auth.Organization' title: UpdateOrganizationModelSettingsResponse additionalProperties: false textql.rpc.public.settings.UpdateOrganizationSettingsRequest: type: object properties: orgId: type: string title: org_id secretsEnabled: title: secrets_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' hideExampleConnectors: title: hide_example_connectors $ref: '#/components/schemas/google.protobuf.BoolValue' paradigmParams: title: paradigm_params nullable: true $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmParams' defaultParadigmMode: title: default_paradigm_mode nullable: true $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmType' defaultConnectorIds: type: array items: type: integer format: int32 title: default_connector_ids trainingMode: title: training_mode $ref: '#/components/schemas/google.protobuf.BoolValue' dashboardsEnabled: title: dashboards_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' methodologyEnabled: title: methodology_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' feedEnabled: title: feed_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' contextV3Enabled: title: context_v3_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' clearEnabledModelIds: type: boolean title: clear_enabled_model_ids clearRestrictedModelIds: type: boolean title: clear_restricted_model_ids enabledModels: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' title: enabled_models restrictedModels: type: array items: $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' title: restricted_models defaultModel: title: default_model nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.LlmModel' observabilityEnabled: title: observability_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' notificationsEnabled: title: notifications_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' hideApiConnectors: title: hide_api_connectors $ref: '#/components/schemas/google.protobuf.BoolValue' fastModeEnabled: title: fast_mode_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' maxThinkingEnabled: title: max_thinking_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' clearDefaultConnectorIds: type: boolean title: clear_default_connector_ids defaultDashboardOutput: title: default_dashboard_output $ref: '#/components/schemas/google.protobuf.BoolValue' defaultMethodology: title: default_methodology nullable: true $ref: '#/components/schemas/textql.rpc.public.chat.Methodology' tracesEnabled: title: traces_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' sandboxObservabilityEnabled: title: sandbox_observability_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' dataAppsEnabled: title: data_apps_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' issuesEnabled: title: issues_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' spendTransparencyEnabled: title: spend_transparency_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' sharingDisabled: title: sharing_disabled $ref: '#/components/schemas/google.protobuf.BoolValue' toolRestrictions: title: tool_restrictions nullable: true $ref: '#/components/schemas/textql.rpc.paradigm_params.ParadigmParams' subagentsEnabled: title: subagents_enabled $ref: '#/components/schemas/google.protobuf.BoolValue' title: UpdateOrganizationSettingsRequest additionalProperties: false textql.rpc.public.settings.UpdateOrganizationSettingsResponse: type: object properties: organization: title: organization $ref: '#/components/schemas/textql.rpc.auth.Organization' title: UpdateOrganizationSettingsResponse additionalProperties: false textql.rpc.public.slack.CreateSlackUuidResponse: type: object properties: uuid: type: string title: uuid title: CreateSlackUuidResponse additionalProperties: false description: Create a Slack UUID for OAuth flow textql.rpc.public.slack.DeleteInstallationRequest: type: object properties: teamId: type: string title: team_id title: DeleteInstallationRequest additionalProperties: false description: Delete a Slack workspace installation textql.rpc.public.slack.GetCurrentUserResponse: type: object properties: user: title: user description: null if user not found in Slack workspace nullable: true $ref: '#/components/schemas/textql.rpc.public.slack.SlackUser' title: GetCurrentUserResponse additionalProperties: false description: Get current user's Slack info textql.rpc.public.slack.HandleSlackOAuthCallbackRequest: type: object properties: code: type: string title: code description: OAuth code from Slack state: type: string title: state description: State containing orgId, memberId, uuid title: HandleSlackOAuthCallbackRequest additionalProperties: false description: Handle Slack OAuth callback textql.rpc.public.slack.HandleSlackOAuthCallbackResponse: type: object properties: success: type: boolean title: success errorMessage: type: string title: error_message nullable: true teamId: type: string title: team_id nullable: true title: HandleSlackOAuthCallbackResponse additionalProperties: false textql.rpc.public.slack.Installation: type: object properties: teamId: type: string title: team_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' name: type: string title: name description: Workspace name (fetched from Slack API) nullable: true title: Installation additionalProperties: false textql.rpc.public.slack.ListChannelsResponse: type: object properties: channels: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.SlackChannelRef' title: channels title: ListChannelsResponse additionalProperties: false description: List all Slack channels from DB for the organization textql.rpc.public.slack.ListInstallationsResponse: type: object properties: installations: type: array items: $ref: '#/components/schemas/textql.rpc.public.slack.Installation' title: installations title: ListInstallationsResponse additionalProperties: false description: List all Slack workspace installations for the organization textql.rpc.public.slack.ListUsersResponse: type: object properties: users: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.SlackUserRef' title: users title: ListUsersResponse additionalProperties: false description: List all Slack team members from DB for the organization textql.rpc.public.slack.SlackUser: type: object properties: id: type: string title: id description: Slack user ID name: type: string title: name nullable: true realName: type: string title: real_name nullable: true email: type: string title: email nullable: true title: SlackUser additionalProperties: false textql.rpc.public.slack.SyncWorkspaceRequest: type: object properties: teamId: type: string title: team_id title: SyncWorkspaceRequest additionalProperties: false description: Sync slack workspaces textql.rpc.public.slack.SyncWorkspaceResponse: type: object properties: queued: type: boolean title: queued message: type: string title: message title: SyncWorkspaceResponse additionalProperties: false textql.rpc.public.tableau.GenerateEmbedTokenRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 viewId: type: string title: view_id title: GenerateEmbedTokenRequest additionalProperties: false textql.rpc.public.tableau.GenerateEmbedTokenResponse: type: object properties: token: type: string title: token embedUrl: type: string title: embed_url title: GenerateEmbedTokenResponse additionalProperties: false textql.rpc.public.tableau.GetCollectionThumbnailRequest: type: object properties: datasetId: type: string title: dataset_id title: GetCollectionThumbnailRequest additionalProperties: false textql.rpc.public.tableau.GetCollectionThumbnailResponse: type: object properties: imageUrl: type: string title: image_url title: GetCollectionThumbnailResponse additionalProperties: false textql.rpc.public.tableau.GetConnectedAppStatusRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: GetConnectedAppStatusRequest additionalProperties: false textql.rpc.public.tableau.GetConnectedAppStatusResponse: type: object properties: configured: type: boolean title: configured appName: type: string title: app_name clientIdSuffix: type: string title: client_id_suffix secretIdSuffix: type: string title: secret_id_suffix title: GetConnectedAppStatusResponse additionalProperties: false textql.rpc.public.tableau.GetStarredTableauItemsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: GetStarredTableauItemsRequest additionalProperties: false textql.rpc.public.tableau.GetStarredTableauItemsResponse: type: object properties: items: type: array items: $ref: '#/components/schemas/textql.rpc.public.tableau.TableauStarredItem' title: items title: GetStarredTableauItemsResponse additionalProperties: false textql.rpc.public.tableau.ListTableauDatasourcesRequest: type: object allOf: - type: object properties: connectorId: type: integer title: connector_id format: int32 - oneOf: - type: object properties: projectId: type: string title: project_id title: project_id required: - projectId - type: object properties: workbookId: type: string title: workbook_id title: workbook_id required: - workbookId title: ListTableauDatasourcesRequest additionalProperties: false textql.rpc.public.tableau.ListTableauDatasourcesResponse: type: object properties: datasources: type: array items: $ref: '#/components/schemas/textql.rpc.public.tableau.TableauDatasource' title: datasources title: ListTableauDatasourcesResponse additionalProperties: false textql.rpc.public.tableau.ListTableauProjectsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: ListTableauProjectsRequest additionalProperties: false textql.rpc.public.tableau.ListTableauProjectsResponse: type: object properties: projects: type: array items: $ref: '#/components/schemas/textql.rpc.public.tableau.TableauProject' title: projects title: ListTableauProjectsResponse additionalProperties: false textql.rpc.public.tableau.ListTableauViewsRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 workbookId: type: string title: workbook_id workbookName: type: string title: workbook_name title: ListTableauViewsRequest additionalProperties: false textql.rpc.public.tableau.ListTableauViewsResponse: type: object properties: views: type: array items: $ref: '#/components/schemas/textql.rpc.public.tableau.TableauView' title: views title: ListTableauViewsResponse additionalProperties: false textql.rpc.public.tableau.ListTableauWorkbooksRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 projectId: type: string title: project_id projectName: type: string title: project_name title: ListTableauWorkbooksRequest additionalProperties: false textql.rpc.public.tableau.ListTableauWorkbooksResponse: type: object properties: workbooks: type: array items: $ref: '#/components/schemas/textql.rpc.public.tableau.TableauWorkbook' title: workbooks title: ListTableauWorkbooksResponse additionalProperties: false textql.rpc.public.tableau.RefreshTableauCollectionRequest: type: object properties: datasetId: type: string title: dataset_id title: RefreshTableauCollectionRequest additionalProperties: false textql.rpc.public.tableau.RefreshTableauCollectionResponse: type: object properties: viewsCount: type: integer title: views_count format: int32 datasourcesCount: type: integer title: datasources_count format: int32 title: RefreshTableauCollectionResponse additionalProperties: false textql.rpc.public.tableau.ResetConnectedAppRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 title: ResetConnectedAppRequest additionalProperties: false textql.rpc.public.tableau.ResetConnectedAppResponse: type: object properties: success: type: boolean title: success title: ResetConnectedAppResponse additionalProperties: false textql.rpc.public.tableau.StarTableauItemRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 itemType: title: item_type $ref: '#/components/schemas/textql.rpc.public.tableau.TableauItemType' itemId: type: string title: item_id itemName: type: string title: item_name title: StarTableauItemRequest additionalProperties: false textql.rpc.public.tableau.StarTableauItemResponse: type: object properties: success: type: boolean title: success title: StarTableauItemResponse additionalProperties: false textql.rpc.public.tableau.TableauDatasource: type: object properties: id: type: string title: id name: type: string title: name type: type: string title: type createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' isPublished: type: boolean title: is_published projectId: type: string title: project_id projectName: type: string title: project_name title: TableauDatasource additionalProperties: false description: 'TODO: Add datasources support' textql.rpc.public.tableau.TableauItemType: type: string title: TableauItemType enum: - ITEM_TYPE_UNKNOWN - ITEM_TYPE_PROJECT - ITEM_TYPE_WORKBOOK - ITEM_TYPE_VIEW - ITEM_TYPE_DATASOURCE description: Starred items textql.rpc.public.tableau.TableauProject: type: object properties: id: type: string title: id name: type: string title: name description: type: string title: description createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' contentPermissions: type: string title: content_permissions parentProjectId: type: string title: parent_project_id title: TableauProject additionalProperties: false textql.rpc.public.tableau.TableauStarredItem: type: object properties: connectorId: type: integer title: connector_id format: int32 itemType: title: item_type $ref: '#/components/schemas/textql.rpc.public.tableau.TableauItemType' itemId: type: string title: item_id itemName: type: string title: item_name createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: TableauStarredItem additionalProperties: false textql.rpc.public.tableau.TableauView: type: object properties: id: type: string title: id name: type: string title: name contentUrl: type: string title: content_url workbookId: type: string title: workbook_id workbookName: type: string title: workbook_name createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' embedUrl: type: string title: embed_url title: TableauView additionalProperties: false textql.rpc.public.tableau.TableauWorkbook: type: object properties: id: type: string title: id name: type: string title: name projectName: type: string title: project_name projectId: type: string title: project_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' title: TableauWorkbook additionalProperties: false textql.rpc.public.tableau.TestTableauConnectionRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 nullable: true serverUrl: type: string title: server_url nullable: true siteName: type: string title: site_name nullable: true patName: type: string title: pat_name nullable: true patSecret: type: string title: pat_secret nullable: true title: TestTableauConnectionRequest additionalProperties: false textql.rpc.public.tableau.TestTableauConnectionResponse: type: object properties: success: type: boolean title: success error: type: string title: error title: TestTableauConnectionResponse additionalProperties: false textql.rpc.public.tableau.UnstarTableauItemRequest: type: object properties: connectorId: type: integer title: connector_id format: int32 itemType: title: item_type $ref: '#/components/schemas/textql.rpc.public.tableau.TableauItemType' itemId: type: string title: item_id title: UnstarTableauItemRequest additionalProperties: false textql.rpc.public.tableau.UnstarTableauItemResponse: type: object properties: success: type: boolean title: success title: UnstarTableauItemResponse additionalProperties: false textql.rpc.public.teams.CreateTeamsUuidResponse: type: object properties: uuid: type: string title: uuid title: CreateTeamsUuidResponse additionalProperties: false textql.rpc.public.teams.HandleTeamsOAuthCallbackRequest: type: object properties: code: type: string title: code state: type: string title: state title: HandleTeamsOAuthCallbackRequest additionalProperties: false textql.rpc.public.teams.HandleTeamsOAuthCallbackResponse: type: object properties: success: type: boolean title: success errorMessage: type: string title: error_message nullable: true tenantId: type: string title: tenant_id nullable: true title: HandleTeamsOAuthCallbackResponse additionalProperties: false textql.rpc.public.teams.TeamsDeleteInstallationRequest: type: object properties: tenantId: type: string title: tenant_id title: TeamsDeleteInstallationRequest additionalProperties: false textql.rpc.public.teams.TeamsGetCurrentUserResponse: type: object properties: user: title: user nullable: true $ref: '#/components/schemas/textql.rpc.public.teams.TeamsUser' title: TeamsGetCurrentUserResponse additionalProperties: false textql.rpc.public.teams.TeamsInstallation: type: object properties: tenantId: type: string title: tenant_id createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' name: type: string title: name nullable: true title: TeamsInstallation additionalProperties: false textql.rpc.public.teams.TeamsListChannelsResponse: type: object properties: channels: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.TeamsChannelRef' title: channels title: TeamsListChannelsResponse additionalProperties: false textql.rpc.public.teams.TeamsListInstallationsResponse: type: object properties: installations: type: array items: $ref: '#/components/schemas/textql.rpc.public.teams.TeamsInstallation' title: installations title: TeamsListInstallationsResponse additionalProperties: false textql.rpc.public.teams.TeamsListUsersResponse: type: object properties: users: type: array items: $ref: '#/components/schemas/textql.rpc.public.cells.TeamsUserRef' title: users title: TeamsListUsersResponse additionalProperties: false textql.rpc.public.teams.TeamsSyncWorkspaceRequest: type: object properties: tenantId: type: string title: tenant_id title: TeamsSyncWorkspaceRequest additionalProperties: false textql.rpc.public.teams.TeamsSyncWorkspaceResponse: type: object properties: queued: type: boolean title: queued message: type: string title: message title: TeamsSyncWorkspaceResponse additionalProperties: false textql.rpc.public.teams.TeamsUser: type: object properties: id: type: string title: id name: type: string title: name nullable: true email: type: string title: email nullable: true title: TeamsUser additionalProperties: false securitySchemes: apiKey: type: apiKey in: header name: tql_api_key tags: - name: DashboardService - name: AppService description: |- AppService manages data apps: the generative app execution primitive. An app is agent-authored single-file HTML/JS/CSS executing in a CSP sandbox, fed a snapshot of its declared data sources. First-class resource, not a dashboard. - name: ConnectorService - name: PowerBIService - name: TableauService - name: DatasetService - name: OntologyManagementService - name: ChatService - name: AgentService - name: AuditLogService - name: MCPService - name: MetricsExportService - name: ObservabilityService - name: PlaybookService - name: RBACService description: RBAC service for managing roles, permissions, and access control - name: SandboxAdminService - name: SandboxQueryService - name: SandboxCapabilityService - name: SandboxExecService - name: ScimService - name: SecretService - name: SettingsService - name: SlackService - name: TeamsService security: - apiKey: []