Clarifai · Schema

apiSearch

This is the new Search object used in saved searches.

Artificial IntelligenceComputer-VisionNLPImage RecognitionObject DetectionText AnalysisVisual SearchMachine-LearningCustom Model TraininggRPC

Properties

Name Type Description
query object Search query.
id string Customer facing, external ID for search to be saved. Provided by the user, e.g. "saved-search-1. It is unique per application.
application_id string Application that owns this saved search.
name string Human readable display name of the saved search.
as_of string "As of" timestamp, indicating a time in the past as of which we want to retrieve the annotations satisfying the query.
git_hash string Git hash of the code that ran the filter.
created_at string When the saved search was created.
modified_at string When the saved search was updated.
algorithm string
save boolean
min_value number Minimum value of confidence threshold score in result. Defaults to 0.0 which means we won't do any thresholding as all probabilities will likely be > 0.0.
visibility object The visibility field represents whether this message is privately/publicly visible. To be visible to the public the App that contains it AND the User that contains the App must also be publicly visibl
metric object
View JSON Schema on GitHub

JSON Schema

apiSearch.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/clarifai/refs/heads/main/json-schema/apiSearch.json",
  "title": "apiSearch",
  "description": "This is the new Search object used in saved searches.",
  "type": "object",
  "properties": {
    "query": {
      "$ref": "#/definitions/apiQuery",
      "description": "Search query."
    },
    "id": {
      "type": "string",
      "description": "Customer facing, external ID for search to be saved. Provided by the user, e.g. \"saved-search-1.\nIt is unique per application."
    },
    "application_id": {
      "type": "string",
      "description": "Application that owns this saved search."
    },
    "name": {
      "type": "string",
      "description": "Human readable display name of the saved search."
    },
    "as_of": {
      "type": "string",
      "format": "date-time",
      "description": "\"As of\" timestamp, indicating a time in the past as of which we want to\nretrieve the annotations satisfying the query."
    },
    "git_hash": {
      "type": "string",
      "description": "Git hash of the code that ran the filter."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the saved search was created."
    },
    "modified_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the saved search was updated."
    },
    "algorithm": {
      "type": "string",
      "title": "The search algorithm to be used.\nOptions are are 'nearest_neighbor', 'brute_force', and 'avg_concept_brute_force'\nThe last two perform a brute force search visual search instead of a more scalable distributed\nnearest neighbor search and should be used by advanced users only.\nIf not specified we default to nearest neighbor"
    },
    "save": {
      "type": "boolean",
      "title": "If true, save this search, and exit without executing the search.\nIf false execute the query"
    },
    "min_value": {
      "type": "number",
      "format": "float",
      "description": "Minimum value of confidence threshold score in result.\nDefaults to 0.0 which means we won't do any thresholding as all probabilities will\nlikely be > 0.0."
    },
    "visibility": {
      "$ref": "#/definitions/clarifaiapiVisibility",
      "description": "The visibility field represents whether this message is privately/publicly visible.\nTo be visible to the public the App that contains it AND the User that contains the App must\nalso be publicly visible."
    },
    "metric": {
      "$ref": "#/definitions/SearchMetric"
    }
  }
}

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

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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