upriver-ai · Schema

CategorySearchResponse

Response from category search endpoint.

Artificial IntelligenceMarketingDataCreatorsBrandsTrendsSponsorship

Properties

Name Type Description
matches array Ordered list of matched categories (highest confidence first)
query_text string The input text that was matched
View JSON Schema on GitHub

JSON Schema

upriver-ai-category-search-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/upriver-ai/json-schema/upriver-ai-category-search-response-schema.json",
  "title": "CategorySearchResponse",
  "description": "Response from category search endpoint.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/upriver-ai-taxonomy-api-openapi.yml#/components/schemas/CategorySearchResponse",
  "properties": {
    "matches": {
      "items": {
        "$ref": "#/$defs/CategoryMatch"
      },
      "type": "array",
      "title": "Matches",
      "description": "Ordered list of matched categories (highest confidence first)"
    },
    "query_text": {
      "type": "string",
      "title": "Query Text",
      "description": "The input text that was matched"
    }
  },
  "type": "object",
  "required": [
    "matches",
    "query_text"
  ],
  "$defs": {
    "CategoryMatch": {
      "properties": {
        "category_id": {
          "type": "string",
          "title": "Category Id",
          "description": "Category ID from taxonomy"
        },
        "display_name": {
          "type": "string",
          "title": "Display Name",
          "description": "Human-readable category name. Use this for embedding-based resolution in downstream endpoints."
        },
        "level": {
          "type": "integer",
          "title": "Level",
          "description": "Taxonomy level (1 or 2)"
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Parent Id",
          "description": "Parent category ID for L2 categories"
        },
        "confidence": {
          "type": "number",
          "maximum": 1.0,
          "minimum": 0.0,
          "title": "Confidence",
          "description": "Confidence score for this match"
        },
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reason",
          "description": "Explanation for why this category was chosen"
        }
      },
      "type": "object",
      "required": [
        "category_id",
        "display_name",
        "level",
        "confidence"
      ],
      "title": "CategoryMatch",
      "description": "A matched category with confidence score.\n\nNote: When passing the matched category to other endpoints that use\nembedding-based resolution (like /sponsors), use the display_name field\nrather than category_id for better embedding matches."
    }
  }
}

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/upriver-ai-category-search-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.