curl --request GET \
--url https://api.withorb.com/v1/metrics \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"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>"
}
]
}
}
],
"pagination_metadata": {
"has_more": true,
"next_cursor": "<string>"
}
}
This endpoint is used to fetch metric details given a metric identifier. It returns information about the metrics including its name, description, and item.
curl --request GET \
--url https://api.withorb.com/v1/metrics \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"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>"
}
]
}
}
],
"pagination_metadata": {
"has_more": true,
"next_cursor": "<string>"
}
}
API Keys can be issued in the Orb's web application.
The number of items to fetch. Defaults to 20.
1 <= x <= 100
Cursor for pagination. This can be populated by the next_cursor
value returned from the initial request.
OK
The response is of type object
.
Was this page helpful?