List Keys
List custom field keys
post/v1/customFields/listKeys
List all active custom field keys, optionally filtered by entity type.
Query Parameters
next_pagestring
optional
Cursor that indicates where the next page of results should start.
Body Parameters
entitiesarray of enum
optional
Optional list of entity types to return keys for
Returns
dataarray of object
next_pagestring
curl https://api.metronome.com/v1/customFields/listKeys \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $METRONOME_BEARER_TOKEN"
200 Example
{
"data": [
{
"enforce_uniqueness": true,
"entity": "alert",
"key": "key"
}
],
"next_page": "next_page"
}