Skip to content
Baremetrics

List Fields

GET https://api.baremetrics.com/v1/segments/fields

Returns the fields that can be used to create/search a segment. The key is the category, and a category contains multiple fields.

Responses

200OK
{
  "baremetrics": [
    {
      "field": "oid",
      "title": "OID",
      "type": "string",
      "methods": [
        "equals",
        "not_equals",
        "contains",
        "not_contains"
      ]
    },
    {
      "field": "email",
      "title": "Email Address",
      "type": "string",
      "methods": [
        "equals",
        "not_equals",
        "contains",
        "not_contains"
      ]
    }
  ],
  "clearbit": [
    {
      "field": "company.geo.country",
      "title": "Clearbit Company Country",
      "type": "string",
      "methods": [
        "equals",
        "not_equals",
        "contains",
        "not_contains"
      ]
    }
  ]
}
400Bad Request
{}