Collections API Reference
Search in Collections
The base url for searching collections is shared with REST API at https://api.x.ai. You have to authenticate using xAI API Key with the header Authorization: Bearer <your xAI API key>.
Search content in a collection
/v1/documents/search