AdminService
POST /v1/read-corpus
Changed onDisplays detailed information about corpora within your account including basic information, metadata, and whether it is enabled or disabled. This endpoint can help administrators monitor the amount of quota consumed by tenants.
Some tips for this API:
- This operation works with the Personal API Key and OAuth 2.0 (in a JWT "Bearer Token") authentication. You can find details of how to set up and use OAuth 2.0 here.
- The filter feature applies to either the name or the description of a corpus.
Request
- Base URLhttps://api.vectara.io
- Auth
- API key in header x-api-key
- or OAuth 2Client credentialsToken URLhttps://vectara-prod-YOUR_VECTARA_CUSTOMER_ID.auth.us-west-2.amazoncognito.com/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
customer-idinteger required
Enter the Customer ID to use for the request.
timeoutstring
(Optional) Enter the timeout value of the request in seconds, such as 10S or 30S.
Request body
Response
A successful response.
Changes
- info
added the optional property
////to the response with the status
- info