used-by
GET
https://hermeticor.com /v1/used-by/{kind}/{id} Workflows, campaigns, segments and custom metrics that reference a list, segment, template or metric (event name or custom metric id)
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pagekindstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/used-by/{kind}/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"kind": "workflow",
"id": "string",
"name": "string",
"status": "string",
"via": "string"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
kindstringrequiredidstringrequirednamestringrequiredstatusstringrequiredviastringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectUpdated