SAKURA internet · Schema
QueryRequest
CompanyCloud ComputingInfrastructure as a ServiceHostingData CentersJapanObject StorageGPU
Properties
| Name | Type | Description |
|---|---|---|
| model | string | クエリのベクトル化に利用するモデル。 |
| query | string | |
| tags | array | すべてのタグを持つドキュメントのみ対象。 |
| top_k | integer | 返す検索結果の最大件数。 |
| threshold | number | ベクトル距離のしきい値。この值よりも距離が大きいドキュメントは検索結果から除外されます。 |
| distance_type | object | 類似度計算に使用する距離メトリクスです。 * `cosine`: コサイン距離。テキストの類似度測定に適しており、値の範囲は0〜2(0が完全に一致)です。 * `l2`: L2距離(ユークリッド距離)。ベクトル空間での直線距離で、数値データの類似度測定に適しています。値の範囲は0〜2(0が完全に一致)です。 * `cosine` - cosine * `l2` - l2 |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/sakura-internet/main/json-schema/sakura-internet-query-request-schema.json",
"title": "QueryRequest",
"x-generated": "2026-10-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sakura-internet-ai-engine-rag-openapi.yml#/components/schemas/QueryRequest",
"type": "object",
"properties": {
"model": {
"type": "string",
"default": "multilingual-e5-large",
"description": "クエリのベクトル化に利用するモデル。",
"maxLength": 255
},
"query": {
"type": "string",
"maxLength": 1000
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"description": "すべてのタグを持つドキュメントのみ対象。"
},
"top_k": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"default": 3,
"description": "返す検索結果の最大件数。"
},
"threshold": {
"type": "number",
"format": "double",
"maximum": 2.0,
"minimum": 0.0,
"default": 0.3,
"description": "ベクトル距離のしきい値。この值よりも距離が大きいドキュメントは検索結果から除外されます。"
},
"distance_type": {
"allOf": [
{
"$ref": "#/$defs/DistanceTypeEnum"
}
],
"default": "cosine",
"description": "類似度計算に使用する距離メトリクスです。\n* `cosine`: コサイン距離。テキストの類似度測定に適しており、値の範囲は0〜2(0が完全に一致)です。\n* `l2`: L2距離(ユークリッド距離)。ベクトル空間での直線距離で、数値データの類似度測定に適しています。値の範囲は0〜2(0が完全に一致)です。\n\n* `cosine` - cosine\n* `l2` - l2"
}
},
"required": [
"query"
],
"$defs": {
"DistanceTypeEnum": {
"enum": [
"cosine",
"l2"
],
"type": "string",
"description": "* `cosine` - cosine\n* `l2` - l2"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sakura-internet-query-request"
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.