curl --request POST \
--url https://api.mintlify.com/discovery/v1/search/{domain} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"pageSize": 10,
"filter": {
"version": "<string>",
"language": "<string>"
}
}
'[
{
"content": "<string>",
"path": "<string>",
"metadata": {}
}
]在文档中执行语义搜索和关键词搜索,支持可配置的过滤和分页。
curl --request POST \
--url https://api.mintlify.com/discovery/v1/search/{domain} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"pageSize": 10,
"filter": {
"version": "<string>",
"language": "<string>"
}
}
'[
{
"content": "<string>",
"path": "<string>",
"metadata": {}
}
]Documentation Index
Fetch the complete documentation index at: https://wiki.another-horizon.eu/llms.txt
Use this file to discover all available pages before exploring further.
Authorization 头需要携带 Bearer 令牌。有关如何获取 API key 的详细信息,请参阅 Assistant API Key 文档。
你在 domain.mintlify.app URL 中的 domain 标识符。可以在控制台 URL 的末尾找到。例如,dashboard.mintlify.com/organization/domain 的 domain 标识符就是 domain。