TextQL Audit Log Service API

The AuditLogService API from TextQL — 11 operation(s) for auditlogservice.

Operations 11

POST /textql.rpc.public.audit_log.AuditLogService/ConfigureOtlpExport ConfigureOtlpExport #
POST /textql.rpc.public.audit_log.AuditLogService/ConfigureS3Export ConfigureS3Export #
POST /textql.rpc.public.audit_log.AuditLogService/DeleteOtlpExportConfig DeleteOtlpExportConfig #
POST /textql.rpc.public.audit_log.AuditLogService/DeleteS3ExportConfig DeleteS3ExportConfig #
POST /textql.rpc.public.audit_log.AuditLogService/GetOtlpExportConfig GetOtlpExportConfig #
POST /textql.rpc.public.audit_log.AuditLogService/GetS3ExportConfig GetS3ExportConfig #
POST /textql.rpc.public.audit_log.AuditLogService/ListAuditLogs ListAuditLogs #
POST /textql.rpc.public.audit_log.AuditLogService/TestOtlpExportConnection TestOtlpExportConnection #
POST /textql.rpc.public.audit_log.AuditLogService/TestS3ExportConnection TestS3ExportConnection #
POST /textql.rpc.public.audit_log.AuditLogService/TriggerOtlpExport TriggerOtlpExport #
POST /textql.rpc.public.audit_log.AuditLogService/TriggerS3Export TriggerS3Export #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/textql-auditlogservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

textql-auditlogservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TextQL Audit Log Service 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
security:
- apiKey: []
tags:
- name: AuditLogService
paths:
  /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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.configureOtlpExport({\n    body: {},\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.configure_otlp_export()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.configureS3Export({\n    body: {},\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.configure_s3_export()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.deleteOtlpExportConfig({\n    body: {},\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.delete_otlp_export_config(body={})\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.deleteS3ExportConfig({\n    body: {},\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.delete_s3_export_config(body={})\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.getOtlpExportConfig({\n    body: {},\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.get_otlp_export_config(body={})\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.getS3ExportConfig({\n    body: {},\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.get_s3_export_config(body={})\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.list({\n    body: {\n      after: new Date(\"2023-01-15T01:30:15.01Z\"),\n    },\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\nfrom textql_sdk.utils import parse_datetime\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.list(after=parse_datetime(\"2023-01-15T01:30:15.01Z\"))\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.testOtlpExportConnection({\n    body: {},\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.test_otlp_export_connection()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.testS3ExportConnection({\n    body: {},\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.test_s3_export_connection()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.triggerOtlpExport({\n    body: {},\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.trigger_otlp_export(body={})\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.auditLogs.triggerS3Export({\n    body: {},\n  });\n\n  console.log(result);\n}\n\nrun();"
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom textql_sdk import Textql\n\n\nwith Textql(\n    api_key=os.getenv(\"TEXTQL_API_KEY\", \"\"),\n) as textql:\n\n    res = textql.audit_logs.trigger_s3_export(body={})\n\n    # Handle response\n    print(res)"
components:
  schemas:
    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.DeleteOtlpExportConfigResponse:
      type: object
      title: DeleteOtlpExportConfigResponse
      additionalProperties: false
    textql.rpc.public.audit_log.TriggerS3ExportRequest:
      type: object
      title: TriggerS3ExportRequest
      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.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.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.GetS3ExportConfigRequest:
      type: object
      title: GetS3ExportConfigRequest
      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
    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.
    textql.rpc.public.audit_log.TriggerOtlpExportResponse:
      type: object
      properties:
        triggered:
          type: boolean
          title: triggered
      title: TriggerOtlpExportResponse
      additionalProperties: false
    textql.rpc.public.audit_log.TriggerOtlpExportRequest:
      type: object
      title: TriggerOtlpExportRequest
      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.TriggerS3ExportResponse:
      type: object
      properties:
        triggered:
          type: boolean
          title: triggered
      title: TriggerS3ExportResponse
      additionalProperties: false
    google.protobuf.Struct:
      type: object
      additionalProperties:
        $ref: '#/components/schemas/google.protobuf.Value'
      description: "`Struct` represents a structured data value, consisting of fields\n which map to dynamically typed values. In some languages, `Struct`\n might be supported by a native representation. For example, in\n scripting languages like JS a struct is represented as an\n object. The details of that representation are described together\n with the proto support for the language.\n\n The JSON representation for `Struct` is JSON object."
    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.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.TestS3ExportConnectionResponse:
      type: object
      properties:
        success:
          type: boolean
          title: success
        errorMessage:
          type: string
          title: error_message
      title: TestS3ExportConnectionResponse
      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.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
    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'
    textql.rpc.public.audit_log.ListAuditLogsResponse:
      type: object
      properties:
        entries:
          type: array
          items:
            $ref: '#/components/schemas/textql.rpc.public.audit_

# --- truncated at 32 KB (39 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/textql/refs/heads/main/openapi/textql-auditlogservice-api-openapi.yml