curl --request GET \
--url https://api.withorb.com/v1/metrics/{metric_id} \
--header 'Authorization: Bearer <token>'{
"metadata": {},
"id": "<string>",
"name": "<string>",
"description": "<string>",
"status": "active",
"item": {
"metadata": {},
"id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"external_connections": [
{
"external_connection_name": "stripe",
"external_entity_id": "<string>"
}
],
"archived_at": "2023-11-07T05:31:56Z"
}
}This endpoint is used to list metrics. It returns information about the metrics including its name, description, and item.
curl --request GET \
--url https://api.withorb.com/v1/metrics/{metric_id} \
--header 'Authorization: Bearer <token>'{
"metadata": {},
"id": "<string>",
"name": "<string>",
"description": "<string>",
"status": "active",
"item": {
"metadata": {},
"id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"external_connections": [
{
"external_connection_name": "stripe",
"external_entity_id": "<string>"
}
],
"archived_at": "2023-11-07T05:31:56Z"
}
}Was this page helpful?