Immensity Clusters API

The clusters API from Immensity, for clusters.

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 9

GET /clusters/search Search Clusters #
POST /clusters/search/query Query Clusters #
GET /clusters/search/options Search Filter Options #
POST /clusters/search/interpret Interpret Cluster Search #
POST /clusters/search/agent Run Cluster Search Agent #
GET /clusters/browse Browse Clusters #
GET /clusters/browse/page Browse Cluster Page #
GET /clusters/discovery Get Discovery Dashboard #
GET /clusters/{cluster_id} Get Cluster #

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-clusters-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-clusters-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Immensity Clusters API
  version: 0.1.0
tags:
- name: Clusters
paths:
  /clusters/search:
    get:
      tags:
      - Clusters
      summary: Search Clusters
      description: Cluster-first search across cluster and item text.
      operationId: search_clusters_clusters_search_get
      security:
      - HTTPBearer: []
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
          minLength: 2
          maxLength: 500
          title: Q
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 20
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000000
          minimum: 0
          default: 0
          title: Offset
      - name: min_posts
        in: query
        required: false
        schema:
          type: integer
          maximum: 100000
          minimum: 1
          default: 1
          title: Min Posts
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /clusters/search/query:
    post:
      tags:
      - Clusters
      summary: Query Clusters
      description: Execute a confirmed, allow-listed search draft against displayable clusters.
      operationId: query_clusters_clusters_search_query_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClusterSearchQuery'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /clusters/search/options:
    get:
      tags:
      - Clusters
      summary: Search Filter Options
      description: Canonical values available to structured filters and the filter editor.
      operationId: search_filter_options_clusters_search_options_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchFilterOptions'
      security:
      - HTTPBearer: []
  /clusters/search/interpret:
    post:
      tags:
      - Clusters
      summary: Interpret Cluster Search
      description: Translate one conversational turn into a draft without running search.
      operationId: interpret_cluster_search_clusters_search_interpret_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchInterpretRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchInterpretationResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /clusters/search/agent:
    post:
      tags:
      - Clusters
      summary: Run Cluster Search Agent
      description: Run a bounded tool loop that always stops before database search execution.
      operationId: run_cluster_search_agent_clusters_search_agent_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchInterpretRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchAgentResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /clusters/browse:
    get:
      tags:
      - Clusters
      summary: Browse Clusters
      description: Default (no-query) cluster discovery feed with sort + subreddit filter.
      operationId: browse_clusters_clusters_browse_get
      security:
      - HTTPBearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 20
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000000
          minimum: 0
          default: 0
          title: Offset
      - name: sort
        in: query
        required: false
        schema:
          type: string
          default: newest
          title: Sort
      - name: subreddit
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Subreddit
      - name: min_posts
        in: query
        required: false
        schema:
          type: integer
          maximum: 100000
          minimum: 1
          default: 1
          title: Min Posts
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /clusters/browse/page:
    get:
      tags:
      - Clusters
      summary: Browse Cluster Page
      operationId: browse_cluster_page_clusters_browse_page_get
      security:
      - HTTPBearer: []
      parameters:
      - name: category
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/BrowseCategory'
          default: all
      - name: sort
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/BrowseSort'
          default: newest
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 20
          title: Limit
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            minLength: 1
            maxLength: 2048
          - type: 'null'
          title: Cursor
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowsePageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /clusters/discovery:
    get:
      tags:
      - Clusters
      summary: Get Discovery Dashboard
      operationId: get_discovery_dashboard_clusters_discovery_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiscoveryDashboardResponse'
      security:
      - HTTPBearer: []
  /clusters/{cluster_id}:
    get:
      tags:
      - Clusters
      summary: Get Cluster
      description: Problem breakdown with source evidence and paginated cluster items.
      operationId: get_cluster_clusters__cluster_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: cluster_id
        in: path
        required: true
        schema:
          type: integer
          title: Cluster Id
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 20
          title: Pagesize
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DiscoveryCardResponse:
      properties:
        id:
          type: integer
          exclusiveMinimum: 0.0
          title: Id
        category:
          $ref: '#/components/schemas/DiscoveryCategory'
        name:
          type: string
          minLength: 1
          title: Name
        problemStatement:
          type: string
          minLength: 1
          title: Problemstatement
        summary:
          type: string
          minLength: 1
          title: Summary
        postCount:
          type: integer
          minimum: 0.0
          title: Postcount
        isWatched:
          type: boolean
          title: Iswatched
        date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Date
      type: object
      required:
      - id
      - category
      - name
      - problemStatement
      - summary
      - postCount
      - isWatched
      - date
      title: DiscoveryCardResponse
    SearchInterpretRequest:
      properties:
        message:
          type: string
          maxLength: 2000
          minLength: 2
          title: Message
        current_draft:
          anyOf:
          - $ref: '#/components/schemas/ClusterSearchQuery'
          - type: 'null'
      additionalProperties: false
      type: object
      required:
      - message
      title: SearchInterpretRequest
      description: One conversational turn plus the draft produced by prior turns.
    BrowsePageResponse:
      properties:
        clusters:
          items:
            $ref: '#/components/schemas/DiscoveryClusterResponse'
          type: array
          title: Clusters
        nextCursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Nextcursor
      type: object
      required:
      - clusters
      - nextCursor
      title: BrowsePageResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DiscoveryDashboardResponse:
      properties:
        featured:
          anyOf:
          - $ref: '#/components/schemas/DiscoveryCardResponse'
          - type: 'null'
        collections:
          items:
            $ref: '#/components/schemas/DiscoveryCollectionsResponse'
          type: array
          title: Collections
      type: object
      required:
      - featured
      - collections
      title: DiscoveryDashboardResponse
    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.
    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.
    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.
    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
    SearchAgentStep:
      properties:
        sequence:
          type: integer
          maximum: 3.0
          minimum: 1.0
          title: Sequence
        action:
          type: string
          enum:
          - inspect_filter_options
          - prepare_search_draft
          - unsupported_tool
          title: Action
        outcome:
          type: string
          enum:
          - completed
          - rejected
          title: Outcome
      additionalProperties: false
      type: object
      required:
      - sequence
      - action
      - outcome
      title: SearchAgentStep
      description: Safe execution metadata; never model reasoning or hidden analysis.
    DiscoveryCategory:
      type: string
      enum:
      - build_and_tooling
      - data_and_apis
      - workflow_and_automation
      - uncategorized
      title: DiscoveryCategory
    BrowseCategory:
      type: string
      enum:
      - all
      - build_and_tooling
      - data_and_apis
      - workflow_and_automation
      - uncategorized
      title: BrowseCategory
    SearchAgentResponse:
      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'
        steps:
          items:
            $ref: '#/components/schemas/SearchAgentStep'
          type: array
          maxItems: 3
          title: Steps
        stop_reason:
          type: string
          enum:
          - confirmation_required
          - clarification_required
          - fallback
          - step_limit
          title: Stop Reason
      additionalProperties: false
      type: object
      required:
      - draft
      - confirmation
      - assumptions
      - unsupported
      - clarification_question
      - needs_clarification
      - needs_confirmation
      - fallback_used
      - available_options
      - steps
      - stop_reason
      title: SearchAgentResponse
      description: A confirmable interpretation plus its bounded, public action trace.
    DiscoveryClusterResponse:
      properties:
        id:
          type: integer
          exclusiveMinimum: 0.0
          title: Id
        category:
          $ref: '#/components/schemas/DiscoveryCategory'
        name:
          type: string
          minLength: 1
          title: Name
        problemStatement:
          type: string
          minLength: 1
          title: Problemstatement
        summary:
          type: string
          minLength: 1
          title: Summary
        postCount:
          type: integer
          minimum: 0.0
          title: Postcount
        isWatched:
          type: boolean
          title: Iswatched
        date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Date
      type: object
      required:
      - id
      - category
      - name
      - problemStatement
      - summary
      - postCount
      - isWatched
      - date
      title: DiscoveryClusterResponse
      description: Browse and Discovery expose the same complete opportunity contract.
    DiscoveryCollectionsResponse:
      properties:
        category:
          $ref: '#/components/schemas/DiscoveryCategory'
        clusters:
          items:
            $ref: '#/components/schemas/DiscoveryCardResponse'
          type: array
          title: Clusters
      type: object
      required:
      - category
      - clusters
      title: DiscoveryCollectionsResponse
    BrowseSort:
      type: string
      enum:
      - newest
      - oldest
      - largest
      - smallest
      title: BrowseSort
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer