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>.
POST /v1/documents/search
API endpoint for POST requests to /v1/documents/search.
Method: POST
Path: /v1/documents/search