insureMO search API

Normally, user should refer to business domain SDK to achieve business search requirement instead of this SDK.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 12

POST /search/indexService/pub/v1/deleteIndexDataById Deletes index data by specified indexName and entityId. #
POST /search/indexService/pub/v1/deleteIndexWithQuery Deletes index data based on a query for the given indexName. #
POST /search/indexService/pub/v1/doIndexWithMap Indexes data provided as a map for the specified indexName. #
POST /search/indexService/pub/v1/doIndexWithMapBulk Bulk indexes data provided as an array of DoIndexDataVo objects for a specific serverName. #
POST /search/indexService/pub/v1/doIndexWithMapBulkWithTran Similar to doIndexWithMapBulk, but includes transaction support via bulkId. #
POST /search/indexService/pub/v1/updateIndexWithMap Updates index data by indexName and entityId with provided map data. #
POST /search/indexService/pub/v1/updateIndexWithQuery Updates index data based on a query for the given indexName. #
GET /search/searchIndex/v1/findIndexByName Retrieves the definition of an index by its indexName. #
POST /search/searchIndex/v1/nativeDslQuery Executes a native DSL query on the specified indexName with optional pagination using offset and size. #
POST /search/searchIndex/v1/queryBaseResult Queries and returns base results based on the provided SearchCondition. #
POST /search/searchIndex/v1/queryEntity Retrieves an entity by its entityId, indexName, and server. #
POST /search/searchIndex/v1/queryForCodeTable Queries code table data based on the provided CodeTableConditionVo. #

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/insuremo-com:insuremo-search-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

insuremo-com-search-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: API
  description: Normally, user should refer to business domain SDK to achieve business search requirement instead of this SDK.
  version: 1.0/platform-pub
  x-mo-original-description: API Documentation
  x-mo-overwrite-description: Normally, user should refer to business domain SDK to achieve business search requirement instead of this SDK.
servers:
- url: http://platform-pub.platform
paths:
  /search/indexService/pub/v1/deleteIndexDataById:
    post:
      tags:
      - IndexWriting
      summary: Deletes index data by specified indexName and entityId.
      operationId: deleteIndexDataById
      parameters:
      - name: indexName
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: entityId
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Deletes index data by specified indexName and entityId.
  /search/indexService/pub/v1/deleteIndexWithQuery:
    post:
      tags:
      - IndexWriting
      summary: Deletes index data based on a query for the given indexName.
      operationId: deleteIndexWithQuery
      parameters:
      - name: indexName
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: object
                additionalProperties:
                  type: object
        required: true
        x-codegen-request-body-name: esMap
      responses:
        '200':
          description: OK
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Deletes index data based on a query for the given indexName.
  /search/indexService/pub/v1/doIndexWithMap:
    post:
      tags:
      - IndexWriting
      summary: Indexes data provided as a map for the specified indexName.
      operationId: doIndexWithMap
      parameters:
      - name: indexName
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: object
        required: true
        x-codegen-request-body-name: indexFieldValueMap
      responses:
        '200':
          description: OK
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Indexes data provided as a map for the specified indexName.
  /search/indexService/pub/v1/doIndexWithMapBulk:
    post:
      tags:
      - IndexWriting
      summary: Bulk indexes data provided as an array of DoIndexDataVo objects for a specific serverName.
      operationId: doIndexWithMapBulk
      parameters:
      - name: serverName
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/DoIndexDataVo'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RestResult'
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Bulk indexes data provided as an array of DoIndexDataVo objects for a specific serverName.
  /search/indexService/pub/v1/doIndexWithMapBulkWithTran:
    post:
      tags:
      - IndexWriting
      summary: Similar to doIndexWithMapBulk, but includes transaction support via bulkId.
      operationId: doIndexWithMapBulkWithTran
      parameters:
      - name: serverName
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: bulkId
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/DoIndexDataVo'
        required: true
      responses:
        '200':
          description: OK
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Similar to doIndexWithMapBulk, but includes transaction support via bulkId.
  /search/indexService/pub/v1/updateIndexWithMap:
    post:
      tags:
      - IndexWriting
      summary: Updates index data by indexName and entityId with provided map data.
      operationId: updateIndexWithMap
      parameters:
      - name: indexName
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: entityId
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: object
        required: true
        x-codegen-request-body-name: indexFieldValueMap
      responses:
        '200':
          description: OK
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Updates index data by indexName and entityId with provided map data.
  /search/indexService/pub/v1/updateIndexWithQuery:
    post:
      tags:
      - IndexWriting
      summary: Updates index data based on a query for the given indexName.
      operationId: updateIndexWithQuery
      parameters:
      - name: indexName
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: object
                additionalProperties:
                  type: object
        required: true
        x-codegen-request-body-name: esMap
      responses:
        '200':
          description: OK
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Updates index data based on a query for the given indexName.
  /search/searchIndex/v1/findIndexByName:
    get:
      tags:
      - IndexDefinition
      summary: Retrieves the definition of an index by its indexName.
      operationId: findIndexByName
      parameters:
      - name: indexName
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SearchIndex'
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Retrieves the definition of an index by its indexName.
  /search/searchIndex/v1/nativeDslQuery:
    post:
      tags:
      - IndexQuery
      summary: Executes a native DSL query on the specified indexName with optional pagination using offset and size.
      operationId: nativeDslQuery
      parameters:
      - name: indexName
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: offset
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: size
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: string
          text/plain:
            schema:
              type: string
        required: true
        x-codegen-request-body-name: queryDsl
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Executes a native DSL query on the specified indexName with optional pagination using offset and size.
  /search/searchIndex/v1/queryBaseResult:
    post:
      tags:
      - IndexQuery
      summary: Queries and returns base results based on the provided SearchCondition.
      operationId: queryBaseResult
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchCondition'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/QueryResult'
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Queries and returns base results based on the provided SearchCondition.
  /search/searchIndex/v1/queryEntity:
    post:
      tags:
      - IndexQuery
      summary: Retrieves an entity by its entityId, indexName, and server.
      operationId: queryEntity
      parameters:
      - name: entityId
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: indexName
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: server
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Retrieves an entity by its entityId, indexName, and server.
  /search/searchIndex/v1/queryForCodeTable:
    post:
      tags:
      - IndexQuery
      summary: Queries code table data based on the provided CodeTableConditionVo.
      operationId: queryCodeTable
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CodeTableConditionVo'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CodeTableResult'
      x-mo-since-at:
        serviceVersion: '2025.03'
      x-mo-overwrite-summary: Queries code table data based on the provided CodeTableConditionVo.
components:
  schemas:
    CodeTableConditionVo:
      type: object
      properties:
        CodeTableName:
          type: string
        ConditionMap:
          type: object
          additionalProperties:
            type: string
        PageNo:
          type: integer
          format: int32
        PageSize:
          type: integer
          format: int32
        QueryAll:
          type: boolean
        SearchField:
          type: string
        UrpExOrgs:
          type: array
          items:
            type: string
        UrpOrgs:
          type: array
          items:
            type: string
    CodeTableEntity:
      type: object
      properties:
        Code:
          type: string
        CodeTableName:
          type: string
        Description:
          type: string
        EsId:
          type: string
        Id:
          type: string
        OtherParams:
          type: object
          additionalProperties:
            type: object
    CodeTableResult:
      type: object
      properties:
        BusinessCodeTableValueList:
          type: array
          items:
            $ref: '#/components/schemas/CodeTableEntity'
        TotalPage:
          type: integer
          format: int64
    DoIndexDataVo:
      type: object
      properties:
        DataEntity:
          type: object
          additionalProperties:
            type: object
        DelId:
          type: string
        ParentId:
          type: string
        Schema:
          type: string
    GroupResult:
      type: object
      properties:
        EsDocs:
          type: array
          items:
            type: object
            additionalProperties:
              type: object
        GroupTotalNum:
          type: integer
          format: int64
        GroupValue:
          type: string
        InnerDocs:
          type: array
          items:
            type: object
            additionalProperties:
              type: object
    QueryResult:
      type: object
      properties:
        AggConditions:
          type: object
          additionalProperties:
            type: object
        Aggs:
          type: object
          additionalProperties:
            type: object
        GroupField:
          type: string
        MaxPageCount:
          type: integer
          format: int64
        PageNo:
          type: integer
          format: int32
        PageSize:
          type: integer
          format: int32
        Results:
          type: array
          items:
            $ref: '#/components/schemas/GroupResult'
        Total:
          type: integer
          format: int64
        TotalExactHitCount:
          type: integer
          format: int64
    RestResult:
      type: object
      properties:
        ErrKey:
          type: string
        Status:
          type: boolean
        Value:
          type: object
    SearchCondition:
      type: object
      properties:
        AggConditions:
          type: object
          additionalProperties:
            type: object
        Conditions:
          type: object
          additionalProperties:
            type: object
        ConditionsMapLinkedWithOrList:
          type: array
          items:
            type: object
            additionalProperties:
              type: object
        ExcludeFields:
          type: array
          items:
            type: string
        ExistFields:
          type: array
          items:
            type: string
        FromRangeConditions:
          type: object
          additionalProperties:
            type: object
        FuzzyConditions:
          type: object
          additionalProperties:
            type: object
        GroupField:
          type: string
        InConditions:
          type: object
          additionalProperties:
            type: array
            items:
              type: object
        IncludeFields:
          type: array
          items:
            type: string
        Module:
          type: string
        NotExistFields:
          type: array
          items:
            type: string
        NotInConditions:
          type: object
          additionalProperties:
            type: array
            items:
              type: object
        OrConditions:
          type: object
          additionalProperties:
            type: object
        OrConditionsList:
          type: array
          items:
            type: object
            additionalProperties:
              type: object
        OrFuzzyConditions:
          type: object
          additionalProperties:
            type: object
        OrFuzzyConditionsList:
          type: array
          items:
            type: object
            additionalProperties:
              type: object
        OrInConditions:
          type: object
          additionalProperties:
            type: array
            items:
              type: object
        PageNo:
          type: integer
          format: int32
        PageSize:
          type: integer
          format: int32
        ParentSearchCondition:
          type: array
          items:
            $ref: '#/components/schemas/SearchCondition'
        SearchType:
          type: integer
          format: int32
        ServerName:
          type: string
        SortField:
          type: string
        SortFieldAndTypeList:
          type: array
          items:
            type: object
            additionalProperties:
              type: string
        SortType:
          type: string
        ToRangeConditions:
          type: object
          additionalProperties:
            type: object
        TransType:
          type: string
        UrpContent:
          type: string
        UseDeputyAnalyzers:
          type: object
          additionalProperties:
            type: string
        WithCodeDesc:
          type: boolean
        WithExactHitCount:
          type: boolean
    SearchIndex:
      type: object
      properties:
        '@pk':
          type: integer
          format: int64
        DataProvider:
          type: string
        Description:
          type: string
        FieldDefinitionProvider:
          type: string
        FieldList:
          type: array
          items:
            $ref: '#/components/schemas/SearchIndexField'
        GroupId:
          type: integer
          format: int64
        IndexId:
          type: integer
          format: int64
        ModelId:
          type: integer
          format: int64
        ModelName:
          type: string
        ModuleId:
          type: integer
          format: int64
        Name:
          type: string
        OldPrimaryKey:
          type: integer
          format: int64
        ParentType:
          type: string
        PreSchema:
          type: string
        ReadAlias:
          type: string
        RebuildDataProvider:
          type: string
        RebuildIndexJob:
          type: string
        RebuildStatus:
          type: integer
          format: int32
        RecordUsage:
          type: integer
          format: int32
        SchemaName:
          type: string
        Sign:
          type: string
        TempData:
          type: object
          additionalProperties:
            type: object
        UseEdge:
          type: string
        WriteAlias:
          type: string
    SearchIndexField:
      type: object
      properties:
        '@pk':
          type: integer
          format: int64
        CodeTableName:
          type: string
        CustomScript:
          type: string
        DeputyAnalyzers:
          type: string
        Desc:
          type: string
        FieldData:
          type: string
        FieldId:
          type: integer
          format: int64
        FieldJavaType:
          type: integer
          format: int32
        FieldName:
          type: string
        HasPinyin:
          type: string
        IncludeToAll:
          type: string
        IndexFieldId:
          type: integer
          format: int64
        IndexFieldName:
          type: string
        IsCodeTable:
          type: string
        IsEdgeNgram:
          type: string
        IsFuzzy:
          type: string
        IsOverrideVendorField:
          type: string
        ModelId:
          type: integer
          format: int64
        ModelName:
          type: string
        NeedDisplay:
          type: string
        ObjectCode:
          type: string
        OldPrimaryKey:
          type: integer
          format: int64
        OnlyExact:
          type: string
        RecordUsage:
          type: integer
          format: int32
        TempData:
          type: object
          additionalProperties:
            type: object
x-mo-gateway-auth-enabled: true
x-mo-gateway-cors-enabled: false