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": {}
}
]Perform semantic and keyword searches across your documentation with configurable filtering and pagination.
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": {}
}
]The Authorization header expects a Bearer token. See the Assistant API Key documentation for details on how to get your API key.
The domain identifier from your domain.mintlify.app URL. Can be found at the end of your dashboard URL. For example, dashboard.mintlify.com/organization/domain has a domain identifier of domain.
Was this page helpful?