Required. The resource name of the EntityType for the entities being written. 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:
Required. feature values to be written, mapping from feature id to value. Up to 100,000 featureValues entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: entityTypes.writeFeatureValues\n\n**Full name**: projects.locations.featurestores.entityTypes.writeFeatureValues\n\nWrites feature values of one or more entities of an EntityType.\n\nThe feature values are merged into existing entities if any. The feature values to be written must have timestamp within the online storage retention. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1``/{entityType}:writeFeatureValues` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`entityType` `string` \nRequired. The resource name of the EntityType for the entities being written. value format: `projects/{project}/locations/{location}/featurestores/\n{featurestore}/entityTypes/{entityType}`. For example, for a machine learning model predicting user clicks on a website, an EntityType id could be `user`.\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `payloads[]` `object (`[WriteFeatureValuesPayload](/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores.entityTypes/writeFeatureValues#WriteFeatureValuesPayload)`)` \nRequired. The entities to be written. Up to 100,000 feature values can be written across all `payloads`. \n\n### Response body\n\nIf successful, the response body is empty.\n\nWriteFeatureValuesPayload\n-------------------------\n\nContains feature values to be written for a specific entity.\nFields `entityId` `string` \nRequired. The id of the entity.\n`featureValues` `map (key: string, value: object (`[FeatureValue](/vertex-ai/docs/reference/rest/v1/FeatureValue)`))` \nRequired. feature values to be written, mapping from feature id to value. Up to 100,000 `featureValues` entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future."]]