publishers
Perform a token counting.
post/v1/{+endpoint}:countTokens
Path parameters
endpointstring required
Required. The name of the Endpoint requested to perform token counting. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
Request body
Response
Successful response