---
title: "POST /v1/{+entityType}:writeFeatureValues"
method: POST
path: "/v1/{+entityType}:writeFeatureValues"
tags: ["projects"]
---

# POST /v1/{+entityType}:writeFeatureValues

`POST /v1/{+entityType}:writeFeatureValues`

Writes Feature values of one or more entities of an EntityType. The Feature values are merged into existing entities if any. The Feature values to be written must have timestamp within the online storage retention.

## Path parameters

- `entityType` string, required

## Request body

- GoogleCloudAiplatformV1WriteFeatureValuesRequest — Request message for FeaturestoreOnlineServingService.WriteFeatureValues.
  - `payloads` GoogleCloudAiplatformV1WriteFeatureValuesPayload[] — Required. The entities to be written. Up to 100,000 feature values can be written across all `payloads`.
    - `entityId` string — Required. The ID of the entity.
    - `featureValues` object — Required. Feature values to be written, mapping from Feature ID to value. Up to 100,000 `feature_values` 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.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/aiplatform.md) · [All operations](https://skmtc.dev/google/apis/aiplatform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/aiplatform/revisions/b608d71b91f0/schema)
