BetterMenu · Schema

CreateSearchTokenRequest

Optional mint-request body — every field is optional and defaults apply. Everything except ``market`` derives from the authenticated context; this model exists only to carry ``market``, which cannot be derived server-side (unlike ``org_id``/``member_id``).

Food TechRecipeFormulationFDA ComplianceSoftware-as-a-ServiceCloud

Properties

Name Type Description
market object Market to scope ingredient search to, mirroring searchIngredients' market parameter (ADR 0007's approved_markets gate). If the caller is entitled to ingredient search but omits this, the response degr
View JSON Schema on GitHub

JSON Schema

bettermenu-create-search-token-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bettermenu/json-schema/bettermenu-create-search-token-request-schema.json",
  "title": "CreateSearchTokenRequest",
  "description": "Optional mint-request body — every field is optional and defaults apply.\n\nEverything except ``market`` derives from the authenticated context;\nthis model exists only to carry ``market``, which cannot be derived\nserver-side (unlike ``org_id``/``member_id``).",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bettermenu-org-api-openapi.yml#/components/schemas/CreateSearchTokenRequest",
  "properties": {
    "market": {
      "anyOf": [
        {
          "$ref": "#/$defs/CountryCode"
        },
        {
          "type": "null"
        }
      ],
      "description": "Market to scope ingredient search to, mirroring searchIngredients' market parameter (ADR 0007's approved_markets gate). If the caller is entitled to ingredient search but omits this, the response degrades to whatever else the caller is entitled to rather than including an incorrectly-scoped ingredients grant. An empty string is rejected as a 422 (not a valid CountryCode value), not treated as an omitted field."
    }
  },
  "type": "object",
  "$defs": {
    "CountryCode": {
      "type": "string",
      "enum": [
        "US"
      ],
      "title": "CountryCode",
      "description": "Market code: the country whose food data and labelling rules apply.\n\nParameters name it `market`, `country` or `country_code`; all take this value."
    }
  }
}

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/bettermenu-create-search-token-request"
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. See our Privacy Policy and Terms.

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