Issues with corpora endpoint of v2 API

Running this code returns 10 results:


url = "https://api.vectara.io/v2/corpora"
payload={'limit': 100}
headers = {
  'Accept': 'application/json',
  'x-api-key': 'my personal api key'
}
response = requests.request("GET", url, headers=headers, data=payload)```
We have way more than 10 corpora set up. None of the other payload params have an effect either...

Since its a GET request, you have to send the limit as query parameter rather than as payload.

Thanks! I was blindly following the example for the PythonSDK given here: List corpora | Vectara Docs

Hi, sorry that the docs are confusing. You can add the parameter to the request and the doc site should show you the correct form.