Immensity Search API

The search API from Immensity, for search.

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 7

POST /clusters/search/sessions Create Search Session #
GET /clusters/search/sessions List Search Sessions #
GET /clusters/search/sessions/{session_id} Get Search Session #
PATCH /clusters/search/sessions/{session_id} Update Search Session #
DELETE /clusters/search/sessions/{session_id} Delete Search Session #
POST /clusters/search/sessions/{session_id}/turns Add Search Turn #
POST /clusters/search/sessions/{session_id}/runs Add Search Run #

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/useimmensity-com:useimmensity-com-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

useimmensity-com-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Immensity Search API
  version: 0.1.0
tags:
- name: Search
paths:
  /clusters/search/sessions:
    post:
      tags:
      - Search
      summary: Create Search Session
      operationId: create_search_session_clusters_search_sessions_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchSessionCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchSessionSummary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Search
      summary: List Search Sessions
      operationId: list_search_sessions_clusters_search_sessions_get
      security:
      - HTTPBearer: []
      parameters:
      - name: view
        in: query
        required: false
        schema:
          enum:
          - recent
          - saved
          - archived
          type: string
          default: recent
          title: View
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 20
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SearchSessionSummary'
                title: Response List Search Sessions Clusters Search Sessions Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /clusters/search/sessions/{session_id}:
    get:
      tags:
      - Search
      summary: Get Search Session
      operationId: get_search_session_clusters_search_sessions__session_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchSessionDetail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Search
      summary: Update Search Session
      operationId: update_search_session_clusters_search_sessions__session_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchSessionUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchSessionSummary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Search
      summary: Delete Search Session
      operationId: delete_search_session_clusters_search_sessions__session_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /clusters/search/sessions/{session_id}/turns:
    post:
      tags:
      - Search
      summary: Add Search Turn
      operationId: add_search_turn_clusters_search_sessions__session_id__turns_post
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchTurnCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchTurnResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /clusters/search/sessions/{session_id}/runs:
    post:
      tags:
      - Search
      summary: Add Search Run
      operationId: add_search_run_clusters_search_sessions__session_id__runs_post
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchRunCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchRunResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SearchTurnResponse:
      properties:
        id:
          type: string
          title: Id
        user_message:
          type: string
          title: User Message
        interpretation:
          $ref: '#/components/schemas/SearchInterpretationResponse'
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
      - id
      - user_message
      - interpretation
      - created_at
      title: SearchTurnResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ClusterSearchQuery:
      properties:
        query:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Query
        sources:
          items:
            type: string
          type: array
          maxItems: 20
          title: Sources
        communities:
          items:
            type: string
          type: array
          maxItems: 20
          title: Communities
        min_posts:
          type: integer
          maximum: 100000.0
          minimum: 1.0
          title: Min Posts
          default: 1
        observed_after:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Observed After
        sort:
          type: string
          enum:
          - relevance
          - newest
          - largest
          title: Sort
          default: relevance
        limit:
          type: integer
          maximum: 50.0
          minimum: 1.0
          title: Limit
          default: 20
        offset:
          type: integer
          maximum: 1000000.0
          minimum: 0.0
          title: Offset
          default: 0
      additionalProperties: false
      type: object
      title: ClusterSearchQuery
      description: Allow-listed, deterministic cluster search inputs.
    SearchFilterOptions:
      properties:
        sources:
          items:
            type: string
          type: array
          maxItems: 100
          title: Sources
        communities:
          items:
            type: string
          type: array
          maxItems: 100
          title: Communities
      additionalProperties: false
      type: object
      title: SearchFilterOptions
      description: Canonical values currently present in the searchable dataset.
    SearchInterpretationResponse:
      properties:
        draft:
          $ref: '#/components/schemas/ClusterSearchQuery'
        confirmation:
          type: string
          title: Confirmation
        assumptions:
          items:
            type: string
          type: array
          title: Assumptions
        unsupported:
          items:
            type: string
          type: array
          title: Unsupported
        clarification_question:
          anyOf:
          - type: string
          - type: 'null'
          title: Clarification Question
        needs_clarification:
          type: boolean
          title: Needs Clarification
        needs_confirmation:
          type: boolean
          title: Needs Confirmation
        fallback_used:
          type: boolean
          title: Fallback Used
        available_options:
          $ref: '#/components/schemas/SearchFilterOptions'
      type: object
      required:
      - draft
      - confirmation
      - assumptions
      - unsupported
      - clarification_question
      - needs_clarification
      - needs_confirmation
      - fallback_used
      - available_options
      title: SearchInterpretationResponse
      description: Frontend-ready confirmation state; this endpoint never runs the query.
    SearchSessionDetail:
      properties:
        id:
          type: string
          title: Id
        title:
          type: string
          title: Title
        saved:
          type: boolean
          title: Saved
        archived:
          type: boolean
          title: Archived
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
        last_activity_at:
          type: string
          format: date-time
          title: Last Activity At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        turns:
          items:
            $ref: '#/components/schemas/SearchTurnResponse'
          type: array
          title: Turns
        runs:
          items:
            $ref: '#/components/schemas/SearchRunResponse'
          type: array
          title: Runs
      type: object
      required:
      - id
      - title
      - saved
      - archived
      - expires_at
      - last_activity_at
      - created_at
      - updated_at
      - turns
      - runs
      title: SearchSessionDetail
    SearchSessionSummary:
      properties:
        id:
          type: string
          title: Id
        title:
          type: string
          title: Title
        saved:
          type: boolean
          title: Saved
        archived:
          type: boolean
          title: Archived
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
        last_activity_at:
          type: string
          format: date-time
          title: Last Activity At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - id
      - title
      - saved
      - archived
      - expires_at
      - last_activity_at
      - created_at
      - updated_at
      title: SearchSessionSummary
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    SearchTurnCreate:
      properties:
        user_message:
          type: string
          maxLength: 2000
          minLength: 2
          title: User Message
        interpretation:
          $ref: '#/components/schemas/SearchInterpretationResponse'
      additionalProperties: false
      type: object
      required:
      - user_message
      - interpretation
      title: SearchTurnCreate
    SearchSessionCreate:
      properties:
        title:
          anyOf:
          - type: string
            maxLength: 160
          - type: 'null'
          title: Title
      additionalProperties: false
      type: object
      title: SearchSessionCreate
    SearchRunResponse:
      properties:
        id:
          type: string
          title: Id
        draft:
          $ref: '#/components/schemas/ClusterSearchQuery'
        result_cluster_ids:
          items:
            type: string
          type: array
          title: Result Cluster Ids
        result_count:
          type: integer
          title: Result Count
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
      - id
      - draft
      - result_cluster_ids
      - result_count
      - created_at
      title: SearchRunResponse
    SearchSessionUpdate:
      properties:
        title:
          anyOf:
          - type: string
            maxLength: 160
            minLength: 1
          - type: 'null'
          title: Title
        saved:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Saved
        archived:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Archived
      additionalProperties: false
      type: object
      title: SearchSessionUpdate
    SearchRunCreate:
      properties:
        draft:
          $ref: '#/components/schemas/ClusterSearchQuery'
        result_cluster_ids:
          items:
            type: string
          type: array
          maxItems: 50
          title: Result Cluster Ids
        result_count:
          type: integer
          minimum: 0.0
          title: Result Count
      additionalProperties: false
      type: object
      required:
      - draft
      - result_count
      title: SearchRunCreate
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer