GET
/metrics
curl \
--request GET 'https://api.visible.vc/metrics?company_id=cad09a10-73e8-4205-ae67-4e6156f37be8' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"meta": {
"page": 1,
"total": 2,
"total_pages": 1
},
"metrics": [
{
"id": "ec5252fe-9abc-4096-85e9-1374e70a3182",
"name": "Revenue",
"unit": "USD",
"frequency": "monthly",
"company_id": "cad09a10-73e8-4205-ae67-4e6156f37be8",
"portfolio_company_profile_id": "ec5252fe-9abc-4096-85e9-1374e70a3182"
},
{
"id": "56a1bed4-9ac4-4bd1-8533-077f3ae465c3",
"name": "Headcount",
"unit": "number",
"frequency": "monthly",
"company_id": "cad09a10-73e8-4205-ae67-4e6156f37be8",
"portfolio_company_profile_id": "ec5252fe-9abc-4096-85e9-1374e70a3182"
}
]
}
Response examples (400)
{
"errors": [
{
"type": "parameter_invalid",
"field": "filter",
"message": "must be an object"
}
]
}
Response examples (401)
{
"errors": [
{
"type": "unauthorized"
}
]
}
Response examples (429)
{
"errors": [
{
"type": "rate_limit_exceeded"
}
]
}