segments
GET
https://hermeticor.com /v1/profiles/{id}/attribute-changes History of attribute changes (old and new value, source, time), newest first; filter by key
Parameters
keystringquerylimitintegerquerycursorstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/{id}/attribute-changes" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"profileId": "string",
"key": "string",
"old": {},
"new": {},
"source": "string",
"at": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredprofileIdstringrequiredkeystringrequiredoldrequirednewrequiredsourcestringrequiredatstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/attributes/computed Computed attributes: event aggregates recomputed hourly onto profiles
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/attributes/computed" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"key": "string",
"label": "string",
"eventName": "string",
"fn": "count",
"property": "string",
"keyProperty": "string",
"sourceKeys": [
"string"
],
"where": {},
"windowDays": 0,
"maxItems": 0,
"status": "active",
"lastComputedAt": "2024-01-01T00:00:00Z",
"lastChangedCount": 0,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem10[]requiredShow child parameters
idstringrequiredkeystringrequiredlabelstringrequiredeventNamestringrequiredfnstringrequiredpropertystringrequiredkeyPropertystringrequiredsourceKeysstring[]requiredwhereobjectrequiredwindowDaysintegerrequiredmaxItemsintegerrequiredstatusstringrequiredlastComputedAtstringrequiredlastChangedCountintegerrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/attributes/computed Request body
application/json
keystringrequiredlabelstringeventNamestringfnstringrequiredsourceKeysstring[]propertystringkeyPropertystringwhereobjectwindowDaysintegermaxItemsintegerstatusstring{
"key": "string",
"label": "string",
"eventName": "",
"fn": "count",
"sourceKeys": [
"string"
],
"property": "string",
"keyProperty": "string",
"where": {},
"windowDays": 0,
"maxItems": 0,
"status": "active"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/attributes/computed" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"key":"string","label":"string","eventName":"","fn":"count","sourceKeys":["string"],"property":"string","keyProperty":"string","where":{},"windowDays":0,"maxItems":0,"status":"active"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"key": "string",
"label": "string",
"eventName": "string",
"fn": "count",
"property": "string",
"keyProperty": "string",
"sourceKeys": [
"string"
],
"where": {},
"windowDays": 0,
"maxItems": 0,
"status": "active",
"lastComputedAt": "2024-01-01T00:00:00Z",
"lastChangedCount": 0,
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredkeystringrequiredlabelstringrequiredeventNamestringrequiredfnstringrequiredpropertystringrequiredkeyPropertystringrequiredsourceKeysstring[]requiredwhereobjectrequiredwindowDaysintegerrequiredmaxItemsintegerrequiredstatusstringrequiredlastComputedAtstringrequiredlastChangedCountintegerrequiredcreatedAtstringrequiredPOST
https://hermeticor.com /v1/attributes/computed/run Recompute all computed attributes now
Code samples
cURL
curl -X POST "https://hermeticor.com/v1/attributes/computed/run" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Default Response
Example
{
"queued": true
}Schema
queuedbooleanrequiredGET
https://hermeticor.com /v1/attributes/computed/{key} Parameters
keystringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/attributes/computed/{key}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/attributes/computed/{key} Parameters
keystringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/attributes/computed/{key}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/attributes/computed/{key} Parameters
keystringpathrequiredRequest body
application/json
labelstringeventNamestringfnstringsourceKeysstring[]propertystringkeyPropertystringwhereobjectwindowDaysintegermaxItemsintegerstatusstring{
"label": "string",
"eventName": "string",
"fn": "count",
"sourceKeys": [
"string"
],
"property": "string",
"keyProperty": "string",
"where": {},
"windowDays": 0,
"maxItems": 0,
"status": "active"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/attributes/computed/{key}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"string","eventName":"string","fn":"count","sourceKeys":["string"],"property":"string","keyProperty":"string","where":{},"windowDays":0,"maxItems":0,"status":"active"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/attributes/field-groups Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/attributes/field-groups" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"key": "string",
"label": "string",
"position": 0,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem11[]requiredShow child parameters
idstringrequiredkeystringrequiredlabelstringrequiredpositionintegerrequiredcreatedAtstringrequirednextCursorstringrequiredUpdated