QamaqQamaq
GET

ナレッジベースを検索(GET)

/search

クエリパラメーターを使用してナレッジベース全体にセマンティック検索を実行します。

パラメーター

クエリパラメーター

名前タイプ説明
query必須
string

Search query

limit
integer

Maximum number of results

デフォルト: 10

folder_id
string

Limit search to specific folder

include_content
boolean

Include content snippets in results

デフォルト: true

threshold
number

Minimum relevance score

デフォルト: 0.7

コード例

curl -X GET "https://api.qamaq.io/api/v1/search?query=value" \
  -H "Authorization: Bearer qmq_your_api_key"

レスポンス

200Search results

Response Body

{
query:string
results:object[]
total:integer
processing_time_ms:number
}