Immensity · Schema

SearchAgentResponse

A confirmable interpretation plus its bounded, public action trace.

Artificial IntelligencePlatformMVPSoftware EngineeringAutomationProject Management

Properties

Name Type Description
draft object
confirmation string
assumptions array
unsupported array
clarification_question object
needs_clarification boolean
needs_confirmation boolean
fallback_used boolean
available_options object
steps array
stop_reason string
View JSON Schema on GitHub

JSON Schema

useimmensity-com-search-agent-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/useimmensity-com/json-schema/useimmensity-com-search-agent-response-schema.json",
  "title": "SearchAgentResponse",
  "description": "A confirmable interpretation plus its bounded, public action trace.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/useimmensity-com-openapi.json#/components/schemas/SearchAgentResponse",
  "properties": {
    "draft": {
      "$ref": "#/$defs/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": "#/$defs/SearchFilterOptions"
    },
    "steps": {
      "items": {
        "$ref": "#/$defs/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"
  ],
  "$defs": {
    "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."
    },
    "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."
    },
    "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."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/useimmensity-com-search-agent-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.