Method: projects.locations.ragCorpora.create

Creates a RagCorpus.

HTTP request

POST https://{service-endpoint}/v1beta1/{parent}/ragCorpora

Where {service-endpoint} is one of the supported service endpoints.

Path parameters



Required. The resource name of the Location to create the RagCorpus in. Format: projects/{project}/locations/{location}

Request body

The request body contains an instance of RagCorpus.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.