Data Points
Upsert 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}.
put/metrics/{metric_id}/data_points
Path parameters
metric_idstring uuid required
ID of the metric
Request body
Example request
{
"data_points": [
{
"date": "2019-01-01",
"value": "10.99"
}
]
}Response
Data points successfully upserted
Example response
{
"data_points": [
{
"id": "ec5252fe-9abc-4096-85e9-1374e70a3182",
"date": "2021-02-01",
"value": "100.99",
"metric_id": "cad09a10-73e8-4205-ae67-4e6156f37be8"
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.