# Upsert Data Points **PUT /metrics/{metric_id}/data_points** Create or update multiple data points for a metric (limited to up to 50 data points per request). If you don't know the metric's ID you can get it from the metric's URL in the app: `https://app.visible.vc/companies/{company_id}/data/metrics/{metric_id}`. ## Servers - Production server: https://api.visible.vc (Production server) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **metric_id** (string(uuid)) ID of the metric ### Body: application/json (object) - **data_points** (array[object]) ## Responses ### 200 Data points successfully upserted #### Body: application/json (object) - **data_points** (array[object]) ### 400 Bad Request - The request is invalid or malformed #### Body: application/json (object) - **errors** (array[object]) ### 401 Unauthorized - Invalid or missing authentication token #### Body: application/json (object) - **errors** (array[object]) ### 404 Not Found - The requested resource was not found #### Body: application/json (object) - **errors** (array[object]) ### 422 Unprocessable Entity - The request is valid but contains semantic errors #### Body: application/json (object) - **errors** (array[object]) ### 429 Too Many Requests - Rate limit exceeded #### Body: application/json (object) - **errors** (array[object]) [Powered by Bump.sh](https://bump.sh)