Reads feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses.
Endpoint
posthttps://{endpoint}/v1beta1/{entityType}:streamingReadFeatureValues
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
entityType
string
Required. The resource name of the entities' type. value format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}
. For example, for a machine learning model predicting user clicks on a website, an EntityType id could be user
.
Request body
The request body contains data with the following structure:
entityIds[]
string
Required. IDs of entities to read feature values of. The maximum number of IDs is 100. For example, for a machine learning model predicting user clicks on a website, an entity id could be user_123
.
Required. Selector choosing Features of the target EntityType. feature IDs will be deduplicated.
Response body
If successful, the response body contains a stream of ReadFeatureValuesResponse
instances.