TextMine API

TextMine API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-25); not the provider's own document.

GitHub OpenAPI

Operations 17

GET /v3/agents GET /v3/agents #
POST /v3/agents POST /v3/agents #
DELETE /v3/alerts/{alertid} DELETE /v3/alerts/{alertId} #
GET /v3/alerts/{alertid} GET /v3/alerts/{alertId} #
PATCH /v3/alerts/{alertid} PATCH /v3/alerts/{alertId} #
GET /v3/documents/{documentid} GET /v3/documents/{documentId} #
GET /v3/reports GET /v3/reports #
GET /v3/reports/{reportid} GET /v3/reports/{reportId} #
GET /v3/tasks GET /v3/tasks #
POST /v3/tasks POST /v3/tasks #
GET /v3/teams/{teamid}/users/{userid} GET /v3/teams/{teamId}/users/{userId} #
GET /v3/vaults GET /v3/vaults #
POST /v3/vaults POST /v3/vaults #
DELETE /v3/vaults/{vaultid} DELETE /v3/vaults/{vaultId} #
GET /v3/vaults/{vaultid} GET /v3/vaults/{vaultId} #
PATCH /v3/vaults/{vaultid} PATCH /v3/vaults/{vaultId} #
GET /v3/vaults/{vaultid}/tags/{tagid} GET /v3/vaults/{vaultId}/tags/{tagId} #

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/textmine-com:textmine-com-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

textmine-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: TextMine API
  version: '2026-11-25'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-25: 17 operation(s) read from 15 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; TextMine has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 17
    documentation: 0
    pages-with-code: 15
    pages-read: 15
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-25'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://developers.textmine.com/reference/getalert.md
  - https://developers.textmine.com/reference/getvault.md
  - https://developers.textmine.com/reference/getreport.md
  - https://developers.textmine.com/reference/createtask.md
  - https://developers.textmine.com/reference/listvaults.md
  - https://developers.textmine.com/reference/createagent.md
  - https://developers.textmine.com/reference/createvault.md
  - https://developers.textmine.com/reference/deletealert.md
  - https://developers.textmine.com/reference/deletevault.md
  - https://developers.textmine.com/reference/getdocument.md
  - https://developers.textmine.com/reference/getteamuser.md
  - https://developers.textmine.com/reference/getvaulttag.md
  - https://developers.textmine.com/reference/listreports.md
  - https://developers.textmine.com/reference/updatealert.md
  - https://developers.textmine.com/reference/updatevault.md
servers:
- url: https://api.textmine.com
paths:
  /v3/agents:
    get:
      operationId: get_v3_agents
      tags:
      - Agents
      summary: GET /v3/agents
      x-source: https://developers.textmine.com/reference/createagent.md
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: ruby
        snippet: URI('https://api.textmine.com/v3/agents'
    post:
      operationId: post_v3_agents
      tags:
      - Agents
      summary: POST /v3/agents
      x-source: https://developers.textmine.com/reference/createagent.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV3AgentsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST \"https://api.textmine.com/v3/agents\"  -H \"Content-Type: application/json\"  -H \"Authorization: Bearer YOUR_API_TOKEN\
          \ (`tm_<key>`)\"  -d '{\n  \"team_id\": 321,\n  \"name\": \"Weekly supplier-risk reviewer\",\n  \"type\": \"general_action\",\n  \"\
          schedule\": {\n    \"frequency\": \"weekly\",\n    \"apply_to\": \"from_now\"\n  },\n  \"config\": {\n    \"vault_id\": 12345,\n   \
          \ \"scope\": \"VAULT_TEAM\",\n    \"prompt\": \"Review "
  /v3/alerts/{alertid}:
    delete:
      operationId: delete_v3_alerts_alertid
      tags:
      - Alerts
      summary: DELETE /v3/alerts/{alertId}
      x-source: https://developers.textmine.com/reference/deletealert.md
      parameters:
      - name: alertid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteV3AlertsAlertidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X DELETE "https://api.textmine.com/v3/alerts/123"  -H "Content-Type: application/json"  -H "Authorization: Bearer YOUR_API_TOKEN
          (`tm_<key>`)"

          ```'
    get:
      operationId: get_v3_alerts_alertid
      tags:
      - Alerts
      summary: GET /v3/alerts/{alertId}
      x-source: https://developers.textmine.com/reference/getalert.md
      parameters:
      - name: alertid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV3AlertsAlertidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X GET "https://api.textmine.com/v3/alerts/123"  -H "Content-Type: application/json"  -H "Authorization: Bearer YOUR_API_TOKEN
          (`tm_<key>`)"

          ```'
    patch:
      operationId: patch_v3_alerts_alertid
      tags:
      - Alerts
      summary: PATCH /v3/alerts/{alertId}
      x-source: https://developers.textmine.com/reference/updatealert.md
      parameters:
      - name: alertid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV3AlertsAlertidRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X PATCH \"https://api.textmine.com/v3/alerts/123\"  -H \"Content-Type: application/json\"  -H \"Authorization: Bearer\
          \ YOUR_API_TOKEN (`tm_<key>`)\"  -d '{\n  \"name\": \"John Doe\",\n  \"params\": {},\n  \"recipients\": [\n    {\n      \"user_id\"\
          : 123,\n      \"email\": \"user@example.com\"\n    }\n  ],\n  \"channel\": \"example_string\"\n}'\n```"
  /v3/documents/{documentid}:
    get:
      operationId: get_v3_documents_documentid
      tags:
      - Documents
      summary: GET /v3/documents/{documentId}
      x-source: https://developers.textmine.com/reference/getdocument.md
      parameters:
      - name: documentid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV3DocumentsDocumentidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X GET "https://api.textmine.com/v3/documents/123"  -H "Content-Type: application/json"  -H "Authorization: Bearer YOUR_API_TOKEN
          (`tm_<key>`)"

          ```'
  /v3/reports:
    get:
      operationId: get_v3_reports
      tags:
      - Reports
      summary: GET /v3/reports
      x-source: https://developers.textmine.com/reference/listreports.md
      parameters:
      - name: vault_id
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV3ReportsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X GET "https://api.textmine.com/v3/reports?vault_id=123"  -H "Content-Type: application/json"  -H "Authorization: Bearer
          YOUR_API_TOKEN (`tm_<key>`)"

          ```'
  /v3/reports/{reportid}:
    get:
      operationId: get_v3_reports_reportid
      tags:
      - Reports
      summary: GET /v3/reports/{reportId}
      x-source: https://developers.textmine.com/reference/getreport.md
      parameters:
      - name: reportid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV3ReportsReportidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X GET "https://api.textmine.com/v3/reports/123"  -H "Content-Type: application/json"  -H "Authorization: Bearer YOUR_API_TOKEN
          (`tm_<key>`)"

          ```'
  /v3/tasks:
    get:
      operationId: get_v3_tasks
      tags:
      - Tasks
      summary: GET /v3/tasks
      x-source: https://developers.textmine.com/reference/createtask.md
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV3TasksResponse'
      x-evidence:
        kind: code-example
        language: ruby
        snippet: URI('https://public-api.textmine.com/v3/tasks'
    post:
      operationId: post_v3_tasks
      tags:
      - Tasks
      summary: POST /v3/tasks
      x-source: https://developers.textmine.com/reference/createtask.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV3TasksRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST \"https://public-api.textmine.com/v3/tasks\"  -H \"Content-Type: application/json\"  -H \"Authorization: Bearer\
          \ YOUR_API_TOKEN (TextMine tm_ API key)\"  -d '{\n  \"idempotency_key\": \"example_string\",\n  \"title\": \"example_string\",\n  \"\
          instruction\": \"example_string\",\n  \"source\": \"example_string\",\n  \"priority\": \"example_string\",\n  \"context\": {},\n  \"\
          permissions\": {},\n  \"notify_when_done\": true,\n  \""
  /v3/teams/{teamid}/users/{userid}:
    get:
      operationId: get_v3_teams_teamid_users_userid
      tags:
      - Teams
      summary: GET /v3/teams/{teamId}/users/{userId}
      x-source: https://developers.textmine.com/reference/getteamuser.md
      parameters:
      - name: teamid
        in: path
        required: true
        schema:
          type: string
      - name: userid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV3TeamsTeamidUsersUseridResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X GET "https://api.textmine.com/v3/teams/123/users/123"  -H "Content-Type: application/json"  -H "Authorization: Bearer
          YOUR_API_TOKEN (`tm_<key>`)"

          ```'
  /v3/vaults:
    get:
      operationId: get_v3_vaults
      tags:
      - Vaults
      summary: GET /v3/vaults
      x-source: https://developers.textmine.com/reference/listvaults.md
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV3VaultsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X GET "https://api.textmine.com/v3/vaults"  -H "Content-Type: application/json"  -H "Authorization: Bearer YOUR_API_TOKEN
          (`tm_<key>`)"

          ```'
    post:
      operationId: post_v3_vaults
      tags:
      - Vaults
      summary: POST /v3/vaults
      x-source: https://developers.textmine.com/reference/createvault.md
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV3VaultsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST \"https://api.textmine.com/v3/vaults\"  -H \"Content-Type: application/json\"  -H \"Authorization: Bearer YOUR_API_TOKEN\
          \ (`tm_<key>`)\"  -d '{\n  \"teamId\": 321,\n  \"name\": \"Commercial contracts\",\n  \"description\": \"Commercial agreements reviewed\
          \ by Legal Ops.\"\n}'\n```"
  /v3/vaults/{vaultid}:
    delete:
      operationId: delete_v3_vaults_vaultid
      tags:
      - Vaults
      summary: DELETE /v3/vaults/{vaultId}
      x-source: https://developers.textmine.com/reference/deletevault.md
      parameters:
      - name: vaultid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteV3VaultsVaultidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X DELETE "https://api.textmine.com/v3/vaults/123"  -H "Content-Type: application/json"  -H "Authorization: Bearer YOUR_API_TOKEN
          (`tm_<key>`)"

          ```'
    get:
      operationId: get_v3_vaults_vaultid
      tags:
      - Vaults
      summary: GET /v3/vaults/{vaultId}
      x-source: https://developers.textmine.com/reference/getvault.md
      parameters:
      - name: vaultid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV3VaultsVaultidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X GET "https://api.textmine.com/v3/vaults/123"  -H "Content-Type: application/json"  -H "Authorization: Bearer YOUR_API_TOKEN
          (`tm_<key>`)"

          ```'
    patch:
      operationId: patch_v3_vaults_vaultid
      tags:
      - Vaults
      summary: PATCH /v3/vaults/{vaultId}
      x-source: https://developers.textmine.com/reference/updatevault.md
      parameters:
      - name: vaultid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV3VaultsVaultidRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X PATCH \"https://api.textmine.com/v3/vaults/123\"  -H \"Content-Type: application/json\"  -H \"Authorization: Bearer\
          \ YOUR_API_TOKEN (`tm_<key>`)\"  -d '{\n  \"name\": \"Validated supplier agreements\",\n  \"description\": \"Supplier agreements with\
          \ reviewed metadata.\"\n}'\n```"
  /v3/vaults/{vaultid}/tags/{tagid}:
    get:
      operationId: get_v3_vaults_vaultid_tags_tagid
      tags:
      - Vaults
      summary: GET /v3/vaults/{vaultId}/tags/{tagId}
      x-source: https://developers.textmine.com/reference/getvaulttag.md
      parameters:
      - name: vaultid
        in: path
        required: true
        schema:
          type: string
      - name: tagid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV3VaultsVaultidTagsTagidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X GET "https://api.textmine.com/v3/vaults/123/tags/123"  -H "Content-Type: application/json"  -H "Authorization: Bearer
          YOUR_API_TOKEN (`tm_<key>`)"

          ```'
components:
  schemas:
    PostV3AgentsRequest:
      type: object
      properties:
        team_id:
          type: integer
        name:
          type: string
        type:
          type: string
        schedule:
          type: object
          properties:
            frequency:
              type: string
            apply_to:
              type: string
        config:
          type: object
          properties:
            vault_id:
              type: integer
            scope:
              type: string
            prompt:
              type: string
    DeleteV3AlertsAlertidResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Content-Type:
              type: string
            Authorization:
              type: string
    GetV3AlertsAlertidResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Content-Type:
              type: string
            Authorization:
              type: string
    PatchV3AlertsAlertidRequest:
      type: object
      properties:
        name:
          type: string
        params:
          type: object
        recipients:
          type: array
          items:
            type: object
            properties:
              user_id:
                type: integer
              email:
                type: string
        channel:
          type: string
    GetV3DocumentsDocumentidResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Content-Type:
              type: string
            Authorization:
              type: string
    GetV3ReportsResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Content-Type:
              type: string
            Authorization:
              type: string
    GetV3ReportsReportidResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Content-Type:
              type: string
            Authorization:
              type: string
    GetV3TasksResponse:
      type: object
      properties:
        task:
          type: object
          properties:
            id:
              type: integer
            organization_id:
              type: integer
            idempotency_key:
              type: string
            source:
              type: string
            priority:
              type: string
            title:
              type: string
            instruction:
              type: string
            status:
              type: string
            current_summary:
              type: string
            final_summary:
              type: string
            last_error:
              type: string
            created:
              type: string
              format: date-time
            updated:
              type: string
              format: date-time
            completed_at:
              type: string
              format: date-time
        steps:
          type: array
          items:
            type: object
        events:
          type: array
          items:
            type: object
        approvals:
          type: array
          items:
            type: object
    PostV3TasksRequest:
      type: object
      properties:
        idempotency_key:
          type: string
        title:
          type: string
        instruction:
          type: string
        source:
          type: string
        priority:
          type: string
        context:
          type: object
        permissions:
          type: object
        notify_when_done:
          type: boolean
        require_approval_for_external_actions:
          type: boolean
        require_plan_approval:
          type: boolean
        autostart:
          type: boolean
    GetV3TeamsTeamidUsersUseridResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Content-Type:
              type: string
            Authorization:
              type: string
    GetV3VaultsResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Content-Type:
              type: string
            Authorization:
              type: string
    PostV3VaultsRequest:
      type: object
      properties:
        teamId:
          type: integer
        name:
          type: string
        description:
          type: string
    DeleteV3VaultsVaultidResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Content-Type:
              type: string
            Authorization:
              type: string
    GetV3VaultsVaultidResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Content-Type:
              type: string
            Authorization:
              type: string
    PatchV3VaultsVaultidRequest:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
    GetV3VaultsVaultidTagsTagidResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Content-Type:
              type: string
            Authorization:
              type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Agents
- name: Alerts
- name: Documents
- name: Reports
- name: Tasks
- name: Teams
- name: Vaults