Skip to main content
GET
/
api
/
v2
/
policies
/
filter-definitions
Get Filter Definitions
curl --request GET \
  --url https://{organization_id}.platform.barndoor.ai/api/v2/policies/filter-definitions \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "label": "<string>",
    "options": [
      {
        "value": "<string>",
        "label": "<string>"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

id
string
required
label
string
required
options
FilterOption · object[]