v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132661,4471.5 MB
projects

Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request.

post/v1/{+endpoint}/embeddings

Path parameters

endpointstring required

Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

Query parameters

deployedModelIdstring

ID of the DeployedModel that serves the invoke request.

Request body

contentTypestring

The HTTP Content-Type header value specifying the content type of the body.

datastring byte

The HTTP request/response body as raw binary.

extensionsobject[]

Application specific response metadata. Must be set in the first response for streaming APIs.

Response

Successful response