Skip to content

Conversation

@ethanpalm
Copy link
Collaborator

Documentation changes

This PR documents the search endpoint and makes a few minor changes to the API docs overall.

New search endpoint:

  • Adds POST /search/{domain} endpoint

API reorganization:

  • Renames /api-reference/chat/ directory to /api-reference/assistant/
  • Updates navigation structure in docs.json to reflect new Assistant group
  • Add wildcard redirect to preserve existing links or bookmarks

Documentation improvements:

  • Make endpoint titles sentence case for consistency with other docs
  • Update API intro to be more clear about which keys work with which endpoints

Closes https://linear.app/mintlify/issue/DOC-135/add-search-api-route-to-docs

⚠️ Do not merge until the endpoint PR is merged.

Comment on lines +537 to +549
"filter": {
"type": "object",
"description": "Optional filtering parameters to narrow search results.",
"properties": {
"version": {
"type": "string",
"description": "Filter results by documentation version."
},
"language": {
"type": "string",
"description": "Filter results by content language."
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should've specified better in my PR, this filter type should match the filter in the create-assistant-message route.

https://mintlify.com/docs/api-reference/chat/create-assistant-message#body-filter

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, just looked at this again, I'm json blind. All good!

@ethanpalm ethanpalm merged commit dfb51cb into main Aug 5, 2025
5 checks passed
@ethanpalm ethanpalm deleted the search-api branch August 5, 2025 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants