v1

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

Return a list of tokens based on the input text.

post/v1/{+endpoint}:computeTokens

Path parameters

endpointstring required

Required. The name of the Endpoint requested to get lists of tokens and token ids.

Request body

modelstring

Optional. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers//models/

Response

Successful response