TextQL Ontology Management Service API

The OntologyManagementService API from TextQL — 69 operation(s) for ontologymanagementservice.

Operations 69

POST /textql.rpc.public.patches.OntologyManagementService/AddOntologySubmodule AddOntologySubmodule #
POST /textql.rpc.public.patches.OntologyManagementService/ApprovePatch ApprovePatch #
POST /textql.rpc.public.patches.OntologyManagementService/ConfigureOntologyRemote ConfigureOntologyRemote #
POST /textql.rpc.public.patches.OntologyManagementService/CreateApprovalRule CreateApprovalRule #
POST /textql.rpc.public.patches.OntologyManagementService/CreateContextPatchAutoApproveRule CreateContextPatchAutoApproveRule #
POST /textql.rpc.public.patches.OntologyManagementService/CreateOntologyDirectory CreateOntologyDirectory #
POST /textql.rpc.public.patches.OntologyManagementService/CreateOntologyFileUploadUrl Streams how many folders and files a subtree holds, so the UI can report the… #
POST /textql.rpc.public.patches.OntologyManagementService/DeleteApprovalRule DeleteApprovalRule #
POST /textql.rpc.public.patches.OntologyManagementService/DeleteContextPatchAutoApproveRule DeleteContextPatchAutoApproveRule #
POST /textql.rpc.public.patches.OntologyManagementService/DeleteOntologyDirectory DeleteOntologyDirectory #
POST /textql.rpc.public.patches.OntologyManagementService/DeleteOntologyFile DeleteOntologyFile #
POST /textql.rpc.public.patches.OntologyManagementService/DenyPatch DenyPatch #
POST /textql.rpc.public.patches.OntologyManagementService/ExchangeOntologyGithubCode ExchangeOntologyGithubCode #
POST /textql.rpc.public.patches.OntologyManagementService/FinalizeOntologyFileUpload FinalizeOntologyFileUpload #
POST /textql.rpc.public.patches.OntologyManagementService/GetCodeownerCoverage GetCodeownerCoverage #
POST /textql.rpc.public.patches.OntologyManagementService/GetConfigExportCapabilities GetConfigExportCapabilities #
POST /textql.rpc.public.patches.OntologyManagementService/GetEffectiveOntologyOwners GetEffectiveOntologyOwners #
POST /textql.rpc.public.patches.OntologyManagementService/GetFileUsage GetFileUsage #
POST /textql.rpc.public.patches.OntologyManagementService/GetFileUsageTimeline GetFileUsageTimeline #
POST /textql.rpc.public.patches.OntologyManagementService/GetOntologyAnaConfig GetOntologyAnaConfig #
POST /textql.rpc.public.patches.OntologyManagementService/GetOntologyFile GetOntologyFile #
POST /textql.rpc.public.patches.OntologyManagementService/GetOntologyGithubOAuthURL GetOntologyGithubOAuthURL #
POST /textql.rpc.public.patches.OntologyManagementService/GetOntologyHistoryFileDiff GetOntologyHistoryFileDiff #
POST /textql.rpc.public.patches.OntologyManagementService/GetOntologyOwners GetOntologyOwners #
POST /textql.rpc.public.patches.OntologyManagementService/GetOntologyRemote GetOntologyRemote #
POST /textql.rpc.public.patches.OntologyManagementService/GetOntologySizeTimeline GetOntologySizeTimeline #
POST /textql.rpc.public.patches.OntologyManagementService/GetOntologySyncConflicts GetOntologySyncConflicts #
POST /textql.rpc.public.patches.OntologyManagementService/GetOntologyUsageSummary GetOntologyUsageSummary #
POST /textql.rpc.public.patches.OntologyManagementService/GetPatch GetPatch #
POST /textql.rpc.public.patches.OntologyManagementService/GetPatchByNumber GetPatchByNumber #
POST /textql.rpc.public.patches.OntologyManagementService/GetPatchCapabilities PlanConfigMigration reports what the lazy config migration WOULD do to this… #
POST /textql.rpc.public.patches.OntologyManagementService/GetRawPatch GetRawPatch #
POST /textql.rpc.public.patches.OntologyManagementService/GetUsageDetailsForFile GetUsageDetailsForFile #
POST /textql.rpc.public.patches.OntologyManagementService/ListApprovalRules ListApprovalRules #
POST /textql.rpc.public.patches.OntologyManagementService/ListChatsForFile ListChatsForFile #
POST /textql.rpc.public.patches.OntologyManagementService/ListContextPatchAutoApproveRules ListContextPatchAutoApproveRules #
POST /textql.rpc.public.patches.OntologyManagementService/ListGoldenFiles Deprecated: use SetOntologyOwners with the desired entry set. #
POST /textql.rpc.public.patches.OntologyManagementService/ListOntologyEntries ListOntologyEntries #
POST /textql.rpc.public.patches.OntologyManagementService/ListOntologyHistory ListOntologyHistory #
POST /textql.rpc.public.patches.OntologyManagementService/ListOntologyImports ListOntologyImports #
POST /textql.rpc.public.patches.OntologyManagementService/ListOntologySubmodules ListOntologySubmodules #
POST /textql.rpc.public.patches.OntologyManagementService/ListOntologySyncRuns ListOntologySyncRuns #
POST /textql.rpc.public.patches.OntologyManagementService/ListPatchObjects ListPatchObjects parses the config objects present at a patch's git ref and… #
POST /textql.rpc.public.patches.OntologyManagementService/ListPatchReviewers ListPatchReviewers #
POST /textql.rpc.public.patches.OntologyManagementService/ListPatches ListPatches #
POST /textql.rpc.public.patches.OntologyManagementService/ListSkills ListSkills #
POST /textql.rpc.public.patches.OntologyManagementService/PlanOntologyMerge PlanOntologyMerge #
POST /textql.rpc.public.patches.OntologyManagementService/PreviewOntologyPullFromRemote PreviewOntologyPullFromRemote #
POST /textql.rpc.public.patches.OntologyManagementService/PullOntologyFromRemote PullOntologyFromRemote #
POST /textql.rpc.public.patches.OntologyManagementService/PushOntologyToRemote PushOntologyToRemote #
POST /textql.rpc.public.patches.OntologyManagementService/RecoverOntology RecoverOntology #
POST /textql.rpc.public.patches.OntologyManagementService/RemoveOntologyRemote Lists the skills under the ontology's flat skills/ root that the caller can… #
POST /textql.rpc.public.patches.OntologyManagementService/RemoveOntologySubmodule RemoveOntologySubmodule #
POST /textql.rpc.public.patches.OntologyManagementService/RenameOntologyFile RenameOntologyFile #
POST /textql.rpc.public.patches.OntologyManagementService/RequestPatchReview RequestPatchReview #
POST /textql.rpc.public.patches.OntologyManagementService/ResolveOntologySyncConflict TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the… #
POST /textql.rpc.public.patches.OntologyManagementService/RestorePatch RestorePatch #
POST /textql.rpc.public.patches.OntologyManagementService/RevertPatch RevertPatch #
POST /textql.rpc.public.patches.OntologyManagementService/SaveAllObjectsAsConfig SaveAllObjectsAsConfig #
POST /textql.rpc.public.patches.OntologyManagementService/SaveObjectAsConfig SaveObjectAsConfig #
POST /textql.rpc.public.patches.OntologyManagementService/SetOntologyFileGolden Deprecated: use SetOntologyOwners with the complete desired entry set #
POST /textql.rpc.public.patches.OntologyManagementService/SetOntologyOwners SetOntologyOwners #
POST /textql.rpc.public.patches.OntologyManagementService/TriggerConfigDriftReconcile TriggerConfigDriftReconcile #
POST /textql.rpc.public.patches.OntologyManagementService/UpdateApprovalRule UpdateApprovalRule #
POST /textql.rpc.public.patches.OntologyManagementService/UpdateContextPatchAutoApproveRule UpdateContextPatchAutoApproveRule #
POST /textql.rpc.public.patches.OntologyManagementService/UpdateOntologySyncConfig UpdateOntologySyncConfig #
POST /textql.rpc.public.patches.OntologyManagementService/UpsertOntologyAnaConfig UpsertOntologyAnaConfig #
POST /textql.rpc.public.patches.OntologyManagementService/UpsertOntologyFile UpsertOntologyFile #
POST /textql.rpc.public.patches.OntologyManagementService/ValidateConfig Read-only functional validation of a proposed config: parse + dependency… #

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-ontologymanagementservice-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-ontologymanagementservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TextQL Ontology Management 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: OntologyManagementService
paths:
  /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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.addSubmodule({\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.ontology.add_submodule()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.approvePatch({\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.ontology.approve_patch()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.configureRemote({\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.ontology.configure_remote()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.createApprovalRule({\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.ontology.create_approval_rule()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.createContextPatchAutoApproveRule({\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.ontology.create_context_patch_auto_approve_rule()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.createDirectory({\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.ontology.create_directory()\n\n    # Handle response\n    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…
      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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.createFileUploadUrl({\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.ontology.create_file_upload_url()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.deleteApprovalRule({\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.ontology.delete_approval_rule()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.deleteContextPatchAutoApproveRule({\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.ontology.delete_context_patch_auto_approve_rule()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.deleteDirectory({\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.ontology.delete_directory()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.deleteFile({\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.ontology.delete_file()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.denyPatch({\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.ontology.deny_patch()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.exchangeGithubCode({\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.ontology.exchange_github_code()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.finalizeFileUpload({\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.ontology.finalize_file_upload()\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.getCodeownerCoverage({\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.ontology.get_codeowner_coverage(body={})\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.getConfigExportCapabilities({\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.ontology.get_config_export_capabilities(body={})\n\n    # Handle response\n    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\";\n\nconst textql = new Textql({\n  apiKey: process.env[\"TEXTQL_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await textql.ontology.getEffectiveOwners

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